Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/aws_devopsguru_notification_channel: fix filters persistent diff (#…
…36804) This changes the type of the `filters.message_types` and `filters.severities` arguments to `TypeSet`, preventing persistent differences when the AWS API returns elements in a different order than they were sent. ```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 (48.85s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannel (37.73s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannel/disappears (12.13s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannel/filters (12.83s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannel/basic (12.77s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannelDataSource (11.12s) --- PASS: TestAccDevOpsGuru_serial/NotificationChannelDataSource/basic (11.12s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/devopsguru 54.578s ```
- Loading branch information
Showing
3 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
resource/aws_devopsguru_notification_channel: Fix persistent diff when `filters.message_types` or `filters.severities` contains multiple elements | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters