-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Error: Invalid address to set: []string{"ebs_block_device", "0", "tags"} #17125
Comments
Also affects |
Given the lack of additional context in the error message, my initial guess as to the offending code is: terraform-provider-aws/aws/resource_aws_instance.go Lines 1655 to 1694 in 5bb0ab1
|
facing the same issue with 3.24.0. 3.23.0 works well. |
We have simple terraform vault provider config with s3 as backend - not even managing aws resources. |
We apologize for the inconvenience! We are working on this now and will have more information shortly. |
@devonbleak Can you or anyone provide more complete configuration to reproduce the problem? We are having trouble reproducing with a variety of different configurations. |
Hello I got the similar error today. I am using TF 0.12.29, and the code was working ok yesterday and today it started to complain about it with EC2 code: Error: Invalid address to set: []string{"root_block_device", "0", "tags"} |
We appreciate letting us know about this and your patience! We are planning release |
|
@breathingdust @YakDriver confirmed this solved it for us. Apologies for the wild goose chase with the resource! |
Thank you so much. issue resolved. |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform CLI and Terraform AWS Provider Version
$ terraform version
Terraform v0.13.5
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
This seems to be related to the new
tags
field of theebs_block_storage
block inaws_instance
resource and data source (I'm getting 9 copies of the error when I plan and I have aggregate 9 aws_instance resources and data sources in this workspace).Debug Output
Panic Output
Expected Behavior
Plan succeeds.
Actual Behavior
Plan produces a copy of the error for each aws_instance resource and data source.
Steps to Reproduce
terraform init -upgrade
terraform plan
terraform refresh
also produces the error.Important Factoids
This is an existing workspace with an existing state from aws provider 3.23.0.
References
The text was updated successfully, but these errors were encountered: