-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
mq_broker: don't recreate when auto_minor_version_upgrade
and host_instance_type
changed
#20661
Conversation
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 @nitrocode 👋
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! 😃
auto_minor_version_upgrade
and host_instance_type
's ForceNew
cc: @breathingdust Friendly ping for this small PR. Could I please get a review or what I can do to get this approved? |
Pull request #21306 has significantly refactored the AWS Provider codebase. As a result, most PRs opened prior to the refactor now have merge conflicts that must be resolved before proceeding. Specifically, PR #21306 relocated the code for all AWS resources and data sources from a single We recognize that many pull requests have been open for some time without yet being addressed by our maintainers. Therefore, we want to make it clear that resolving these conflicts in no way affects the prioritization of a particular pull request. Once a pull request has been prioritized for review, the necessary changes will be made by a maintainer -- either directly or in collaboration with the pull request author. For a more complete description of this refactor, including examples of how old filepaths and function names correspond to their new counterparts: please refer to issue #20000. For a quick guide on how to amend your pull request to resolve the merge conflicts resulting from this refactor and bring it in line with our new code patterns: please refer to our Service Package Refactor Pull Request Guide. |
@zhelding conflicts resolved 😄 |
@zhelding @breathingdust hi all, just a friendly bump. is there anything else i can do to get this in the next release? |
Hi @nitrocode! No further action is required on your part. We will now review your PR as part of our standard triage prioritization process (see here). Unfortunately, we can't guarantee that your PR will get a review in a timely manner, but we will get to it as soon as we have capacity. Thanks again for your contribution! |
auto_minor_version_upgrade
and host_instance_type
's ForceNew
auto_minor_version_upgrade
and host_instance_type
optional
auto_minor_version_upgrade
and host_instance_type
optionalauto_minor_version_upgrade
and host_instance_type
changed
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.
Looks good! 🎉
Output from tests on us-west-2
:
% make testacc TESTS=TestAccMQBroker PKG=mq
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/mq/... -v -count 1 -parallel 20 -run='TestAccMQBroker' -timeout 180m
--- PASS: TestAccMQBroker_RabbitMQ_logs (738.37s)
--- PASS: TestAccMQBroker_throughputOptimized (845.89s)
--- PASS: TestAccMQBroker_RabbitMQ_validationAuditLog (897.57s)
--- PASS: TestAccMQBroker_RabbitMQ_basic (928.72s)
--- PASS: TestAccMQBroker_RabbitMQ_cluster (969.69s)
--- PASS: TestAccMQBrokerDataSource_basic (1149.69s)
--- PASS: TestAccMQBroker_disappears (1188.89s)
--- PASS: TestAccMQBroker_ldap (1190.90s)
--- PASS: TestAccMQBroker_basic (1192.11s)
--- PASS: TestAccMQBroker_Update_tags (1210.83s)
--- PASS: TestAccMQBroker_EncryptionOptions_kmsKeyID (1215.07s)
--- PASS: TestAccMQBroker_EncryptionOptions_awsOwnedKeyDisabled (1221.20s)
--- PASS: TestAccMQBroker_EncryptionOptions_awsOwnedKeyEnabled (1243.07s)
--- PASS: TestAccMQBroker_Update_securityGroup (1419.21s)
--- PASS: TestAccMQBroker_Update_engineVersion (1421.85s)
--- PASS: TestAccMQBroker_Update_users (1693.32s)
--- PASS: TestAccMQBroker_AllFields_customVPC (1818.89s)
--- PASS: TestAccMQBroker_AllFields_defaultVPC (1910.09s)
--- PASS: TestAccMQBroker_Update_hostInstanceType (1984.85s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/mq 1986.138s
Test output (GovCloud):
% make testacc TESTS=TestAccMQBroker PKG=mq
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/mq/... -v -count 1 -parallel 20 -run='TestAccMQBroker' -timeout 180m
--- PASS: TestAccMQBroker_RabbitMQ_validationAuditLog (717.94s)
--- PASS: TestAccMQBroker_RabbitMQ_logs (718.85s)
--- PASS: TestAccMQBroker_RabbitMQ_basic (765.38s)
--- PASS: TestAccMQBroker_throughputOptimized (852.94s)
--- FAIL: TestAccMQBroker_RabbitMQ_cluster (953.56s)
--- PASS: TestAccMQBroker_EncryptionOptions_awsOwnedKeyDisabled (1002.93s)
--- PASS: TestAccMQBroker_ldap (1007.61s)
--- PASS: TestAccMQBroker_basic (1018.00s)
--- PASS: TestAccMQBroker_EncryptionOptions_awsOwnedKeyEnabled (1021.03s)
--- PASS: TestAccMQBroker_Update_tags (1065.76s)
--- PASS: TestAccMQBroker_disappears (1090.48s)
--- PASS: TestAccMQBroker_EncryptionOptions_kmsKeyID (1096.04s)
--- PASS: TestAccMQBrokerDataSource_basic (1114.37s)
--- PASS: TestAccMQBroker_Update_engineVersion (1189.83s)
--- PASS: TestAccMQBroker_Update_securityGroup (1286.25s)
--- PASS: TestAccMQBroker_Update_users (1510.20s)
--- PASS: TestAccMQBroker_Update_hostInstanceType (1570.17s)
--- PASS: TestAccMQBroker_AllFields_customVPC (1689.72s)
--- PASS: TestAccMQBroker_AllFields_defaultVPC (1696.97s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/mq 1698.262s
Failure shows up in nightlies for GovCloud and is unrelated to these changes.
This functionality has been released in v4.0.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. Thank you! |
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
Why
The mq broker should not be recreated when
References
--auto-minor-version-upgrade | --no-auto-minor-version-upgrade (boolean)
and--host-instance-type
Commands
Testing
Output from acceptance testing: