Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/aws_elbv2_trust_store_revocation: fix to properly return create errors
Previously the error was appended to the existing diagnostics but not returned, allowing the create operation to proceed and eventually attempt dereferencing a nil pointer to the create API response. ```console % make testacc PKG=elbv2 TESTS=TestAccELBV2TrustStoreRevocation_ make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.22.6 test ./internal/service/elbv2/... -v -count 1 -parallel 20 -run='TestAccELBV2TrustStoreRevocation_' -timeout 360m --- PASS: TestAccELBV2TrustStoreRevocation_basic (53.44s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/elbv2 59.341s ```
- Loading branch information