-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
inspector: Add support for SNS subscriptions #26334
Conversation
This squashed commit contains the following implementation steps: - Fill out resource schema - Add expand functions to Create function - Add Subscription finder function - Add flatten function to Read function - Add Update function calls - Add passing acceptance tests - Run terrafmt - Add documentation
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=TestAccInspectorAssessmentTemplate_' PKG=inspector ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/inspector/... -v -count 1 -parallel 2 -run=TestAccInspectorAssessmentTemplate_ -timeout 180m
=== RUN TestAccInspectorAssessmentTemplate_basic
=== PAUSE TestAccInspectorAssessmentTemplate_basic
=== RUN TestAccInspectorAssessmentTemplate_disappears
=== PAUSE TestAccInspectorAssessmentTemplate_disappears
=== RUN TestAccInspectorAssessmentTemplate_tags
=== PAUSE TestAccInspectorAssessmentTemplate_tags
=== RUN TestAccInspectorAssessmentTemplate_eventSubscription
=== PAUSE TestAccInspectorAssessmentTemplate_eventSubscription
=== CONT TestAccInspectorAssessmentTemplate_basic
=== CONT TestAccInspectorAssessmentTemplate_tags
--- PASS: TestAccInspectorAssessmentTemplate_basic (23.29s)
=== CONT TestAccInspectorAssessmentTemplate_eventSubscription
--- PASS: TestAccInspectorAssessmentTemplate_tags (67.62s)
=== CONT TestAccInspectorAssessmentTemplate_disappears
--- PASS: TestAccInspectorAssessmentTemplate_eventSubscription (58.09s)
--- PASS: TestAccInspectorAssessmentTemplate_disappears (17.57s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/inspector 90.237s
This functionality has been released in v4.27.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. |
Adds support to enable SNS topic subscriptions to specific assessment template events.
Supersedes #12261.
Resolves #843.
Community Note
Output from acceptance testing: