-
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
aws_nat_gateway: add association_id attribute to resource and data source #30546
aws_nat_gateway: add association_id attribute to resource and data source #30546
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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=TestAccVPCNATGateway' PKG=ec2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccVPCNATGateway -timeout 180m
=== RUN TestAccVPCNATGatewayDataSource_basic
=== PAUSE TestAccVPCNATGatewayDataSource_basic
=== RUN TestAccVPCNATGateway_basic
=== PAUSE TestAccVPCNATGateway_basic
=== RUN TestAccVPCNATGateway_disappears
=== PAUSE TestAccVPCNATGateway_disappears
=== RUN TestAccVPCNATGateway_ConnectivityType_private
=== PAUSE TestAccVPCNATGateway_ConnectivityType_private
=== RUN TestAccVPCNATGateway_privateIP
=== PAUSE TestAccVPCNATGateway_privateIP
=== RUN TestAccVPCNATGateway_tags
=== PAUSE TestAccVPCNATGateway_tags
=== RUN TestAccVPCNATGatewaysDataSource_basic
=== PAUSE TestAccVPCNATGatewaysDataSource_basic
=== CONT TestAccVPCNATGatewayDataSource_basic
=== CONT TestAccVPCNATGateway_privateIP
=== CONT TestAccVPCNATGateway_disappears
--- PASS: TestAccVPCNATGatewayDataSource_basic (147.75s)
=== CONT TestAccVPCNATGateway_ConnectivityType_private
--- PASS: TestAccVPCNATGateway_privateIP (169.30s)
=== CONT TestAccVPCNATGateway_basic
--- PASS: TestAccVPCNATGateway_disappears (195.81s)
=== CONT TestAccVPCNATGatewaysDataSource_basic
--- PASS: TestAccVPCNATGateway_ConnectivityType_private (178.33s)
=== CONT TestAccVPCNATGateway_tags
--- PASS: TestAccVPCNATGateway_basic (188.52s)
--- PASS: TestAccVPCNATGatewaysDataSource_basic (202.64s)
--- PASS: TestAccVPCNATGateway_tags (239.90s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 571.281s
@roberth-k Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.63.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
Adds the
association_id
attribute to theaws_nat_gateway
resource and data source.The
association_id
(and other attributes, such asallocation_id
) are now chosen based on whether a given IP address is designated as the primary IP address of the NAT Gateway.A subsequent PR will add secondary associations as an independent resource.
Relations
Relates #29471
References
Output from Acceptance Testing