-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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_vpc_network_interface use AWS SDKv2 #32756
r/aws_vpc_network_interface use AWS SDKv2 #32756
Conversation
Community NoteVoting for Prioritization
For Submitters
|
ac7a398
to
6eb6aac
Compare
6eb6aac
to
5320c44
Compare
@mattburgess can you provide the output of all the acceptance tests please? |
Yeah, it's been a while since I touched this and I'm unlikely to get time in the near future. There's an issue with handling tags, but apart from that I think it's looking OK. Added test output to PR description. |
7ef5ae8
to
977f4ee
Compare
Rebased, fixed merge conflicts and also managed to fix the tagging issue from before. We're down to just 2 failing test cases now which I might try to take a look at tomorrow. |
efc8bb6
to
d70d796
Compare
d70d796
to
6291a29
Compare
@AdamTylerLynch this one's nearly ready now. Just one failing test but I can't work out what's causing the |
# Conflicts: # internal/service/ec2/vpc_network_interface.go
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=TestAccVPCNetworkInterface_\|TestAccVPCNetworkInterfaceAttachment_\|TestAccVPCNetworkInterfaceDataSource_' PKG=ec2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccVPCNetworkInterface_\|TestAccVPCNetworkInterfaceAttachment_\|TestAccVPCNetworkInterfaceDataSource_ -timeout 360m
=== RUN TestAccVPCNetworkInterfaceAttachment_basic
=== PAUSE TestAccVPCNetworkInterfaceAttachment_basic
=== RUN TestAccVPCNetworkInterfaceDataSource_basic
=== PAUSE TestAccVPCNetworkInterfaceDataSource_basic
=== RUN TestAccVPCNetworkInterfaceDataSource_filters
=== PAUSE TestAccVPCNetworkInterfaceDataSource_filters
=== RUN TestAccVPCNetworkInterfaceDataSource_carrierIPAssociation
=== PAUSE TestAccVPCNetworkInterfaceDataSource_carrierIPAssociation
=== RUN TestAccVPCNetworkInterfaceDataSource_publicIPAssociation
=== PAUSE TestAccVPCNetworkInterfaceDataSource_publicIPAssociation
=== RUN TestAccVPCNetworkInterfaceDataSource_attachment
=== PAUSE TestAccVPCNetworkInterfaceDataSource_attachment
=== RUN TestAccVPCNetworkInterface_basic
=== PAUSE TestAccVPCNetworkInterface_basic
=== RUN TestAccVPCNetworkInterface_ipv6
=== PAUSE TestAccVPCNetworkInterface_ipv6
=== RUN TestAccVPCNetworkInterface_tags
=== PAUSE TestAccVPCNetworkInterface_tags
=== RUN TestAccVPCNetworkInterface_ipv6Count
=== PAUSE TestAccVPCNetworkInterface_ipv6Count
=== RUN TestAccVPCNetworkInterface_disappears
=== PAUSE TestAccVPCNetworkInterface_disappears
=== RUN TestAccVPCNetworkInterface_description
=== PAUSE TestAccVPCNetworkInterface_description
=== RUN TestAccVPCNetworkInterface_attachment
=== PAUSE TestAccVPCNetworkInterface_attachment
=== RUN TestAccVPCNetworkInterface_ignoreExternalAttachment
=== PAUSE TestAccVPCNetworkInterface_ignoreExternalAttachment
=== RUN TestAccVPCNetworkInterface_sourceDestCheck
=== PAUSE TestAccVPCNetworkInterface_sourceDestCheck
=== RUN TestAccVPCNetworkInterface_privateIPsCount
=== PAUSE TestAccVPCNetworkInterface_privateIPsCount
=== RUN TestAccVPCNetworkInterface_ENIInterfaceType_efa
=== PAUSE TestAccVPCNetworkInterface_ENIInterfaceType_efa
=== RUN TestAccVPCNetworkInterface_ENI_ipv4Prefix
=== PAUSE TestAccVPCNetworkInterface_ENI_ipv4Prefix
=== RUN TestAccVPCNetworkInterface_ENI_ipv4PrefixCount
=== PAUSE TestAccVPCNetworkInterface_ENI_ipv4PrefixCount
=== RUN TestAccVPCNetworkInterface_ENI_ipv6Prefix
=== PAUSE TestAccVPCNetworkInterface_ENI_ipv6Prefix
=== RUN TestAccVPCNetworkInterface_ENI_ipv6PrefixCount
=== PAUSE TestAccVPCNetworkInterface_ENI_ipv6PrefixCount
=== RUN TestAccVPCNetworkInterface_privateIPSet
=== PAUSE TestAccVPCNetworkInterface_privateIPSet
=== RUN TestAccVPCNetworkInterface_privateIPList
=== PAUSE TestAccVPCNetworkInterface_privateIPList
=== CONT TestAccVPCNetworkInterfaceAttachment_basic
=== CONT TestAccVPCNetworkInterface_attachment
=== CONT TestAccVPCNetworkInterface_privateIPList
--- PASS: TestAccVPCNetworkInterface_privateIPList (272.73s)
=== CONT TestAccVPCNetworkInterface_privateIPSet
--- PASS: TestAccVPCNetworkInterfaceAttachment_basic (305.64s)
=== CONT TestAccVPCNetworkInterface_ENI_ipv6PrefixCount
--- PASS: TestAccVPCNetworkInterface_attachment (356.44s)
=== CONT TestAccVPCNetworkInterface_ENI_ipv6Prefix
--- PASS: TestAccVPCNetworkInterface_ENI_ipv6PrefixCount (102.95s)
=== CONT TestAccVPCNetworkInterface_ENI_ipv4PrefixCount
--- PASS: TestAccVPCNetworkInterface_privateIPSet (169.25s)
=== CONT TestAccVPCNetworkInterface_ENI_ipv4Prefix
--- PASS: TestAccVPCNetworkInterface_ENI_ipv6Prefix (88.55s)
=== CONT TestAccVPCNetworkInterface_ENIInterfaceType_efa
--- PASS: TestAccVPCNetworkInterface_ENIInterfaceType_efa (43.42s)
=== CONT TestAccVPCNetworkInterface_privateIPsCount
--- PASS: TestAccVPCNetworkInterface_ENI_ipv4PrefixCount (98.13s)
=== CONT TestAccVPCNetworkInterface_sourceDestCheck
--- PASS: TestAccVPCNetworkInterface_ENI_ipv4Prefix (77.32s)
=== CONT TestAccVPCNetworkInterface_ignoreExternalAttachment
--- PASS: TestAccVPCNetworkInterface_sourceDestCheck (86.64s)
=== CONT TestAccVPCNetworkInterface_basic
--- PASS: TestAccVPCNetworkInterface_privateIPsCount (105.62s)
=== CONT TestAccVPCNetworkInterface_description
--- PASS: TestAccVPCNetworkInterface_basic (41.32s)
=== CONT TestAccVPCNetworkInterface_disappears
--- PASS: TestAccVPCNetworkInterface_description (59.28s)
=== CONT TestAccVPCNetworkInterface_ipv6Count
=== NAME TestAccVPCNetworkInterface_ignoreExternalAttachment
vpc_network_interface_test.go:355: Error running post-test destroy, there may be dangling resources: exit status 1
Error: deleting EC2 Network Interface (eni-07b5d49e8c40a3e50): operation error EC2: DeleteNetworkInterface, https response error StatusCode: 400, RequestID: 703e6f71-398d-47ba-8d52-06e503a2fc97, api error InvalidParameterValue: Network interface 'eni-07b5d49e8c40a3e50' is currently in use.
--- FAIL: TestAccVPCNetworkInterface_ignoreExternalAttachment (136.35s)
=== CONT TestAccVPCNetworkInterface_tags
--- PASS: TestAccVPCNetworkInterface_disappears (37.24s)
=== CONT TestAccVPCNetworkInterface_ipv6
--- PASS: TestAccVPCNetworkInterface_tags (77.82s)
=== CONT TestAccVPCNetworkInterfaceDataSource_carrierIPAssociation
--- PASS: TestAccVPCNetworkInterface_ipv6 (87.21s)
=== CONT TestAccVPCNetworkInterfaceDataSource_attachment
--- PASS: TestAccVPCNetworkInterface_ipv6Count (105.89s)
=== CONT TestAccVPCNetworkInterfaceDataSource_publicIPAssociation
--- PASS: TestAccVPCNetworkInterfaceDataSource_carrierIPAssociation (30.94s)
=== CONT TestAccVPCNetworkInterfaceDataSource_filters
--- PASS: TestAccVPCNetworkInterfaceDataSource_publicIPAssociation (29.61s)
=== CONT TestAccVPCNetworkInterfaceDataSource_basic
--- PASS: TestAccVPCNetworkInterfaceDataSource_filters (26.44s)
--- PASS: TestAccVPCNetworkInterfaceDataSource_basic (25.06s)
--- PASS: TestAccVPCNetworkInterfaceDataSource_attachment (289.36s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/ec2 1060.946s
FAIL
make: *** [testacc] Error 1
Failure is unrelated to this change and is occurring in CI.
% make testacc TESTARGS='-run=TestAccELBLoadBalancer_basic' PKG=elb ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/elb/... -v -count 1 -parallel 3 -run=TestAccELBLoadBalancer_basic -timeout 360m
=== RUN TestAccELBLoadBalancer_basic
=== PAUSE TestAccELBLoadBalancer_basic
=== CONT TestAccELBLoadBalancer_basic
--- PASS: TestAccELBLoadBalancer_basic (29.29s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/elb 43.791s
% make testacc TESTARGS='-run=TestAccELBV2LoadBalancer_ALB_basic' PKG=elbv2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/elbv2/... -v -count 1 -parallel 3 -run=TestAccELBV2LoadBalancer_ALB_basic -timeout 360m
=== RUN TestAccELBV2LoadBalancer_ALB_basic
=== PAUSE TestAccELBV2LoadBalancer_ALB_basic
=== CONT TestAccELBV2LoadBalancer_ALB_basic
--- PASS: TestAccELBV2LoadBalancer_ALB_basic (218.54s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/elbv2 229.778s
This functionality has been released in v5.46.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
Relations
Relates #36219
References
Output from Acceptance Testing