-
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
Fix: Resolve issues with aws_iot_thing_type and aws_cloudwatch_event_bus_policy disappearing resources #33203
Fix: Resolve issues with aws_iot_thing_type and aws_cloudwatch_event_bus_policy disappearing resources #33203
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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 @JTaylor-myenergi 👋
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 CONTRIBUTOR 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! 😃
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 testacc TESTARGS='-run=TestAccEventsBusPolicy_' PKG=events
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/events/... -v -count 1 -parallel 20 -run=TestAccEventsBusPolicy_ -timeout 180m
=== RUN TestAccEventsBusPolicy_basic
=== PAUSE TestAccEventsBusPolicy_basic
=== RUN TestAccEventsBusPolicy_ignoreEquivalent
=== PAUSE TestAccEventsBusPolicy_ignoreEquivalent
=== RUN TestAccEventsBusPolicy_disappears
=== PAUSE TestAccEventsBusPolicy_disappears
=== RUN TestAccEventsBusPolicy_disappears_EventBus
=== PAUSE TestAccEventsBusPolicy_disappears_EventBus
=== CONT TestAccEventsBusPolicy_basic
=== CONT TestAccEventsBusPolicy_disappears
=== CONT TestAccEventsBusPolicy_disappears_EventBus
=== CONT TestAccEventsBusPolicy_ignoreEquivalent
--- PASS: TestAccEventsBusPolicy_disappears_EventBus (41.95s)
--- PASS: TestAccEventsBusPolicy_disappears (48.35s)
--- PASS: TestAccEventsBusPolicy_ignoreEquivalent (68.04s)
--- PASS: TestAccEventsBusPolicy_basic (83.54s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/events 89.615s
% make testacc TESTARGS='-run=TestAccIoTThingType_' PKG=iot ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/iot/... -v -count 1 -parallel 2 -run=TestAccIoTThingType_ -timeout 180m
=== RUN TestAccIoTThingType_basic
=== PAUSE TestAccIoTThingType_basic
=== RUN TestAccIoTThingType_disappears
=== PAUSE TestAccIoTThingType_disappears
=== RUN TestAccIoTThingType_full
=== PAUSE TestAccIoTThingType_full
=== RUN TestAccIoTThingType_tags
=== PAUSE TestAccIoTThingType_tags
=== CONT TestAccIoTThingType_basic
=== CONT TestAccIoTThingType_full
--- PASS: TestAccIoTThingType_basic (352.25s)
=== CONT TestAccIoTThingType_tags
--- PASS: TestAccIoTThingType_full (383.64s)
=== CONT TestAccIoTThingType_disappears
--- PASS: TestAccIoTThingType_disappears (344.53s)
--- PASS: TestAccIoTThingType_tags (412.64s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/iot 752.730s
@JTaylor-myenergi Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.15.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. |
Description
aws_iot_thing_type
is manually deleted in AWSaws_cloudwatch_event_bus_policy
if the associatedaws_cloudwatch_event_bus
is manually deleted in AWS.Relations
Closes #31634
References
This is my first contribution, so please double check and let me know if I have missed anything.
Output from Acceptance Testing