-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/aws_cloudsearch_domain: fix index_field crash on read (#35900)
* r/aws_cloudsearch_domain: fix index_field crash on read A missing nil check in the flattener for the `index_field` argument could, under certain conditions, cause the read operation to panic. ``` make testacc PKG=cloudsearch TESTS=TestAccCloudSearchDomain_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/cloudsearch/... -v -count 1 -parallel 20 -run='TestAccCloudSearchDomain_' -timeout 360m --- PASS: TestAccCloudSearchDomain_basic (708.55s) --- PASS: TestAccCloudSearchDomain_disappears (746.41s) --- PASS: TestAccCloudSearchDomain_sourceFields (1712.89s) --- PASS: TestAccCloudSearchDomain_indexFields (1859.65s) --- PASS: TestAccCloudSearchDomain_update (2328.91s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudsearch 2336.129s ``` * chore: changelog
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 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_cloudsearch_domain: Prevent panic when reading nil `index_field` options response values | ||
``` |
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