How do I check the build context sent to the Terraform Cloud

How do I check the build context sent to the Terraform Cloud to make sure the .terraformignore is set correctly? i.e., I would to make sure some temporary folders are not included.

Thanks

Hi, welcome to the forum!

I don’t think it’s really possible to view the contents of a slug after uploading, really; the configuration version intentionally does not include the storage URL after a configuration slug has been uploaded.

Although it’s a bit of a hack, if you’re really really wanting to double check your pattern, I’d try using the local_file datasource in a remote run. If it was ignored, the file should not exist and will error.

Thanks, I will try it out.