You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I will provide access to the private gist upon request
Expected Behavior
Running terraform apply twice in a row without any changes to any local, external dependencies should not redeploy the slug.
Actual Behavior
The calculated-nature of the file_path appears to cause the provider to think the slug has changed even though the checksum remains stable from run to run.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform apply
Important Factoids
I have confirmed that when I hardcode the full path to the slug, the plan comes back clean after a successful apply.
The text was updated successfully, but these errors were encountered:
Using a variables file to set an undeclared variable is deprecated and will
become an error in a future release. If you wish to provide certain "global"
settings to all configurations in your organization, use TF_VAR_...
environment variables to set these instead.
It means we won't be able to share a common tfvars file that has generic top-level values unless we define those variables in all the terraform definitions. Annoying! We'll have to use maps and lists for most top-level values but working with maps can be painful, especially using nested maps. Also, the suggestion to use TF_VAR_ is confusing. TF_VAR_ should be far more discouraged than undeclared variables in a tfvars file. TF_VAR_ are easily overlooked when source controlling.
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
heroku_slug
Terraform Configuration Files
Debug Output
I will provide access to the private gist upon request
Expected Behavior
Running
terraform apply
twice in a row without any changes to any local, external dependencies should not redeploy the slug.Actual Behavior
The calculated-nature of the
file_path
appears to cause the provider to think the slug has changed even though the checksum remains stable from run to run.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform apply
Important Factoids
I have confirmed that when I hardcode the full path to the slug, the
plan
comes back clean after a successfulapply
.The text was updated successfully, but these errors were encountered: