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
In the second apply it should: destroy the the null_resource.Config resource with the previous values, destroy the null_resource.A with the previous values, recreate null_resource.A and lastly recreate null_resource.Config
But it does not execute the: echo Destroy config ${var.A[count.index].key}-${var.A[count.index].value }
I don't know if is possible to run echo Destroy config ${var.A[count.index].key}-${var.A[count.index].value } with the previous values because there are not in the state file (maybe it should render the command when apply).
Thanks.
References
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.
ghost
locked and limited conversation to collaborators
Apr 1, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugcorev0.12Issues (primarily bugs) reported against v0.12 releases
Terraform Version
Terraform Configuration Files
Module 1:
Module 2:
Module 3:
v1.tfvars
Debug Output
Crash Output
https://gist.github.com/eddytrex/d2be154d5172b9053dcb2c7ba62c3037
Expected Behavior
In the second apply it should: destroy the the null_resource.Config resource with the previous values, destroy the null_resource.A with the previous values, recreate null_resource.A and lastly recreate null_resource.Config
Actual Behavior
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform apply -auto-approve module3
terraform apply -var-file="v1.tfvars" -auto-approve module3
Additional Context
If you remove the provisioner in the module2.null_resource.Config:
it works, also if you add
But it does not execute the:
echo Destroy config ${var.A[count.index].key}-${var.A[count.index].value }
I don't know if is possible to run
echo Destroy config ${var.A[count.index].key}-${var.A[count.index].value }
with the previous values because there are not in the state file (maybe it should render the command when apply).Thanks.
References
The text was updated successfully, but these errors were encountered: