-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module Outputs #22502
Comments
Using the lifecycle crate before destroy on the null_resource name, it work fine. But maybe is not positive to use create before destroy in other resources. |
Thanks for the added info @eddytrex, that might be very useful in tracking this down. |
I'm testing in 0.12.7, interesting if there is not count/for_each in the null_resource.hi in the module 2 that depends on the variable resources it works with out cycle error. |
Closed by #22976 |
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
module 1:
moduel2:
module3:
Debug Output
https://gist.github.com/eddytrex/43c5bd47b273607705ae0f9bf1931503
Crash Output
Expected Behavior
Renew the null_resource in the module 1
pass the values to the module 2
then Renew null_resource in module 2
Actual Behavior
Error Cycle
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform apply -var description=first module3
terraform apply -var description=second module3
Additional Context
tested with terraform 0.12.6 with the same behavior
References
The text was updated successfully, but these errors were encountered: