-
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
[Bug]: aws_mq_broker fails to update to a version with required automatic minor version upgrades #40806
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Hey @JankoMat 👋 Thank you for taking the time to raise this! My initial suspicion is that this is due to maintenance windows. Since you're not specifying the I don't have anything other than my gut to back this up at the moment, but I'm also not sure the API would allow for modifying the |
Hey, @justinretzolk Thank you for the response, I tested it again with the apply_immediately = true and got the same error. The first time I saw this issue in the wild I had apply_immediately set to true. I tried updating the same instance that Terraform was failing to update using aws cli and that seems to have worked:
|
Terraform Core Version
v1.5.7
AWS Provider Version
v5.82.2
Affected Resource(s)
aws_mq_broker
Expected Behavior
Updating from a minor version with automatic minor version upgrades disabled (example: activemq 5.17.6) to a major version that requires automatic minor version upgrades (example: activemq 5.18) should work as long as auto_minor_version_upgrade is set to true.
Actual Behavior
Upgrade from 5.17.6 to 5.18 fails with the following error:
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Create an Active MQ broker using the 5.17.6 Engine Version with the provided file (the example from the official documentation). Edit the file to change the Engine Version to 5.18 and add the auto_minor_version_upgrade = true option.
Run terraform apply and it will fail.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: