-
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/aws_devopsguru_notification_channel: new resource #36557
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.
LGTM 🚀
make testacc PKG=devopsguru TESTS=TestAccDevOpsGuru_serial/NotificationChannel
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/devopsguru/... -v -count 1 -parallel 20 -run='TestAccDevOpsGuru_serial/NotificationChannel' -timeout 360m
=== RUN TestAccDevOpsGuru_serial
=== PAUSE TestAccDevOpsGuru_serial
=== CONT TestAccDevOpsGuru_serial
=== RUN TestAccDevOpsGuru_serial/NotificationChannel
=== RUN TestAccDevOpsGuru_serial/NotificationChannel/basic
=== RUN TestAccDevOpsGuru_serial/NotificationChannel/disappears
=== RUN TestAccDevOpsGuru_serial/NotificationChannel/filters
--- PASS: TestAccDevOpsGuru_serial (37.17s)
--- PASS: TestAccDevOpsGuru_serial/NotificationChannel (37.17s)
--- PASS: TestAccDevOpsGuru_serial/NotificationChannel/basic (13.80s)
--- PASS: TestAccDevOpsGuru_serial/NotificationChannel/disappears (10.90s)
--- PASS: TestAccDevOpsGuru_serial/NotificationChannel/filters (12.47s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/devopsguru 43.431s
vTo.Set(reflect.ValueOf(to)) | ||
// Copy elements individually to enable expansion of lists of | ||
// custom string types (AWS enums) | ||
vals := reflect.MakeSlice(vTo.Type(), len(to), len(to)) |
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.
nice!
needs CHANGELOG entry |
This change to the auto expander logic allows for the underlying type to be preserved when the target is a list of custom string types (ie. AWS enums).
bd4aac0
to
60a449b
Compare
This resource will allow practitioners to manage AWS DevOps Guru notification channels with Terraform. ```console % make testacc PKG=devopsguru TESTS=TestAccDevOpsGuru_serial/NotificationChannel ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.21.8 test ./internal/service/devopsguru/... -v -count 1 -parallel 20 -run='TestAccDevOpsGuru_serial/NotificationChannel' -timeout 360m --- PASS: TestAccDevOpsGuru_serial (38.51s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannel (38.51s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannel/basic (14.01s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannel/disappears (11.41s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannel/filters (13.09s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/devopsguru 43.970s ```
60a449b
to
385142f
Compare
This functionality has been released in v5.43.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
This resource will allow practitioners to manage AWS DevOps Guru notification channels with Terraform.
Thing change also adds AutoFlex support for "list of enum" fields.
Relations
Relates #17919
Closes #36334
Closes #36556
References
Output from Acceptance Testing