-
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_elbv2_trust_store_revocation: fix to properly return create errors #38756
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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 ```
5c8c01d
to
fa57a28
Compare
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 🚀.
Shows a number of similar occurrences -- shall we open an issue to investigate? |
Yes, good call. I'll open a follow-up issue. 👍 |
This functionality has been released in v5.62.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
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.
Relations
Closes #38353
Output from Acceptance Testing