terraform-provider-aws: resource/aws_security_group_rule crashes with provider version 1.43.1
Community Note
- Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave β+1β or βme tooβ comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
Terraform v0.11.8
- provider.aws v1.43.1
- provider.http v1.0.1
Terraform Configuration Files
Modified to use eu-west-1 region.
Output
https://gist.github.com/yorinasub17/99184f7fcf662ce09f6fb5c7b9e7389f
Panic output
https://gist.github.com/yorinasub17/06c6be4e7199069cf204412e59ebe075
Expected Behavior
No panic.
Actual Behavior
Panic!
Steps to Reproduce
terraform initterraform applyterraform destroy<= this fails
Important Factoids
- I am using a utility that uses STS assume roles to authenticate to AWS.
- The destroy worked when I rolled back to v1.42.0
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 23
- Comments: 16 (7 by maintainers)
We have this too when trying to refresh the state of aws_security_group_rule Are you planning to release the fix right away or are we better fixing the version of the provider to 1.43.0?
Version 1.43.2 of the AWS provider has been released with the fix for this situation. If you continue to have trouble on that updated version, please open a fresh bug report with all the relevant details.
Thanks again to all the reporters and apologies for the inconvenience the last day or so.
After diving into the code path and with the help of the example configurations above, I was able to generate the crash via acceptance testing. I have submitted the bug fix pull request here: #6419
This will absolutely go out with the next provider release whether a 1.43.2 or 1.44.0.