-
Notifications
You must be signed in to change notification settings - Fork 9.5k
resource/aws_security_group_rule: Validate conflicting arguments are not simultaneously specified #18467
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
Conversation
Thank you for your contribution! 🚀 Please note that the Remove any changes to the |
…not simultaneously specified
Removed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @mschuchard 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
This has been released in version 3.38.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
Hi @mschuchard and @gdavison, Just a heads up at this point - this change breaks the https://github.com/terraform-aws-modules/terraform-aws-security-group module. Caught me completely off guard 😞 - there's also nothing in the release notes for Error being thrown by the module is:
For now, I'm just going to restrict my provider version to |
@onematchfox The module maintainers would need to update/fix the module to not attempt simultaneously specifying those arguments since they are not allowed by the AWS API. The PR was an improvement/bug fix to invalidate that usage before the API throws an error during create operations during a apply. You can check the linked issue above for more. |
Fair enough. Except that I could argue that this change is a Breaking Change. Resources that previously planned and applied successfully no longer plan. I haven't dug too deep but my suspicion is that this is a result of how |
For Terraform versions >= 0.12, the |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #15606
Output from acceptance testing: