-
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
r/mq_broker - make maint window updatable + sweeper changes #24385
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.
LGTM 🚀.
% make sweep SWEEPARGS=-sweep-run=aws_mq_broker SWEEP=us-west-2
# make sweep SWEEPARGS=-sweep-run=aws_example_thing
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./internal/sweep -v -tags=sweep -sweep=us-west-2 -sweep-run=aws_mq_broker -timeout 60m
2022/04/25 08:18:38 [DEBUG] Running Sweepers for region (us-west-2):
2022/04/25 08:18:38 [DEBUG] Running Sweeper (aws_mq_broker) in region (us-west-2)
2022/04/25 08:18:38 [INFO] Retrieved credentials from "EnvConfigCredentials"
2022/04/25 08:18:38 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2022/04/25 08:18:39 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2022/04/25 08:18:41 [DEBUG] Completed Sweeper (aws_mq_broker) in region (us-west-2) in 2.627689776s
2022/04/25 08:18:41 Completed Sweepers for region (us-west-2) in 2.627865921s
2022/04/25 08:18:41 Sweeper Tests for region (us-west-2) ran successfully:
- aws_mq_broker
ok github.com/hashicorp/terraform-provider-aws/internal/sweep 6.163s
% make testacc TESTARGS='-run=TestAccMQBroker_AllFields_customVPC\|TestAccMQBroker_basic' PKG=mq ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/mq/... -v -count 1 -parallel 2 -run=TestAccMQBroker_AllFields_customVPC\|TestAccMQBroker_basic -timeout 180m
=== RUN TestAccMQBroker_basic
=== PAUSE TestAccMQBroker_basic
=== RUN TestAccMQBroker_AllFields_customVPC
=== PAUSE TestAccMQBroker_AllFields_customVPC
=== CONT TestAccMQBroker_basic
=== CONT TestAccMQBroker_AllFields_customVPC
--- PASS: TestAccMQBroker_basic (960.22s)
--- PASS: TestAccMQBroker_AllFields_customVPC (1744.03s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/mq 1748.107s
@DrFaust92 Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.12.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
Closes #20241
Closes #19067
Closes #18365
Output from acceptance testing: