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
Terraform plan works OK - terraform apply fails with -
│ Error: Can't change variable when applying a saved plan
Steps to Reproduce
export TF_VAR_this_is_a_list_variable='["stuff"]'
terraform plan -input=false -out=plan.tfplan
terraform apply plan.tfplan
Additional Context
This seems to be an issue with the way a TF_VAR list environment variable is stored in the plan compared to how it is seen at runtime for apply - confirmed this does not occur at v1.9.8 with the same basic config / environment variable.
References
No response
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/pauldtill/693a77980b7409e91d8c506eecb23085
Expected Behavior
Terraform apply is successful.
Actual Behavior
Terraform plan works OK - terraform apply fails with -
Steps to Reproduce
Additional Context
This seems to be an issue with the way a TF_VAR list environment variable is stored in the plan compared to how it is seen at runtime for apply - confirmed this does not occur at v1.9.8 with the same basic config / environment variable.
References
No response
The text was updated successfully, but these errors were encountered: