-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Add fix for OpenSearch Serverless VPCE test #39454
Conversation
Community NoteVoting for Prioritization
For Submitters
|
We are seeing these failures in CI too:
|
@ewbankkit so are you looking into it then? We had introduced 2 new fields in the BatchGetVPCEResponse and need this to get merged in terraform too. |
There was a linting error. So raised another commit to fix it. |
The updated deprecation message now includes the impacted argument name, providing clarity around what argument should be addressed. ``` │ Warning: Argument is deprecated │ │ with aws_iam_role.test, │ on main.tf line 33, in resource "aws_iam_role" "test": │ 33: resource "aws_iam_role" "test" { │ │ The inline_policy argument is deprecated. Use the aws_iam_role_policy resource instead. If Terraform should exclusively manage all inline policy associations (the current behavior │ of this argument), use the aws_iam_role_policies_exclusive resource as well. ```
Add fix for OpenSearch Serverless VPCE test
327a696
to
7306c1b
Compare
Squashed the previous 2 commits into 1. |
135af5b
to
aa8eaf9
Compare
# Conflicts: # internal/service/opensearchserverless/vpc_endpoint_test.go
aa8eaf9
to
9dc286b
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 🚀.
% make testacc TESTARGS='-run=TestAccOpenSearchServerlessVPCEndpoint' PKG=opensearchserverless ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/opensearchserverless/... -v -count 1 -parallel 3 -run=TestAccOpenSearchServerlessVPCEndpoint -timeout 360m
=== RUN TestAccOpenSearchServerlessVPCEndpointDataSource_basic
=== PAUSE TestAccOpenSearchServerlessVPCEndpointDataSource_basic
=== RUN TestAccOpenSearchServerlessVPCEndpoint_basic
=== PAUSE TestAccOpenSearchServerlessVPCEndpoint_basic
=== RUN TestAccOpenSearchServerlessVPCEndpoint_securityGroups
=== PAUSE TestAccOpenSearchServerlessVPCEndpoint_securityGroups
=== RUN TestAccOpenSearchServerlessVPCEndpoint_update
=== PAUSE TestAccOpenSearchServerlessVPCEndpoint_update
=== RUN TestAccOpenSearchServerlessVPCEndpoint_disappears
=== PAUSE TestAccOpenSearchServerlessVPCEndpoint_disappears
=== CONT TestAccOpenSearchServerlessVPCEndpointDataSource_basic
=== CONT TestAccOpenSearchServerlessVPCEndpoint_update
=== CONT TestAccOpenSearchServerlessVPCEndpoint_disappears
--- PASS: TestAccOpenSearchServerlessVPCEndpoint_disappears (327.64s)
=== CONT TestAccOpenSearchServerlessVPCEndpoint_securityGroups
--- PASS: TestAccOpenSearchServerlessVPCEndpointDataSource_basic (366.21s)
=== CONT TestAccOpenSearchServerlessVPCEndpoint_basic
--- PASS: TestAccOpenSearchServerlessVPCEndpoint_update (574.60s)
--- PASS: TestAccOpenSearchServerlessVPCEndpoint_basic (365.96s)
--- PASS: TestAccOpenSearchServerlessVPCEndpoint_securityGroups (455.89s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/opensearchserverless 788.962s
@mumoumit Thanks for the contribution 🎉 👏. |
Wanted to clarify BatchGetVpcEndpoint should return the security group IDs |
This functionality has been released in v5.69.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
There was a bug in the test code. When I ran the Acceptance test for VPCE I got this error:
Relations
Closes #33603.
Closes #39021.
Output from Acceptance Testing