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 panicked after completing the provisioning. It created the bucket and ran the command just fine, but panicked afterward.
Steps to Reproduce
terraform plan
terraform apply
Important Factoids
This does not happen if the aws_s3_bucket is not created by a module, i.e. move the contents of module/main.tf into main.tf and remove the module declaration.
Also, this worked in 0.7.7. This is a regression.
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 20, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I have a module that creates an
aws_s3_bucket
and uses alocal-exec
provisioner I get a panic after the provisioning script runs.Terraform Version
Terraform v0.7.8
Affected Resource(s)
Terraform Configuration Files
main.tf:
module/main.tf:
Debug Output
https://gist.github.com/2rs2ts/ad35dd3e727e99139d7156bbd98140c8
Panic Output
https://gist.github.com/2rs2ts/d08d20771dd38686e4c95fbe0e15b2c8
Expected Behavior
No panic should have occurred.
Actual Behavior
Terraform panicked after completing the provisioning. It created the bucket and ran the command just fine, but panicked afterward.
Steps to Reproduce
terraform plan
terraform apply
Important Factoids
This does not happen if the
aws_s3_bucket
is not created by amodule
, i.e. move the contents of module/main.tf into main.tf and remove themodule
declaration.Also, this worked in 0.7.7. This is a regression.
The text was updated successfully, but these errors were encountered: