-
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
feat: Add association_id arg for aws_eip_association + improve docs #40769
feat: Add association_id arg for aws_eip_association + improve docs #40769
Conversation
Community NoteVoting for Prioritization
For Submitters
|
cbd9fa7
to
afcfedb
Compare
afcfedb
to
ee601bc
Compare
Thanks for submitting this PR, @acwwat. I've made a few changes to the PR. The attribute |
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=TestAccEC2EIPAssociation_' PKG=ec2 ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2EIPAssociation_ -timeout 360m
2025/01/07 08:42:26 Initializing Terraform AWS Provider...
=== RUN TestAccEC2EIPAssociation_basic
=== PAUSE TestAccEC2EIPAssociation_basic
=== RUN TestAccEC2EIPAssociation_disappears
=== PAUSE TestAccEC2EIPAssociation_disappears
=== RUN TestAccEC2EIPAssociation_instance
=== PAUSE TestAccEC2EIPAssociation_instance
=== RUN TestAccEC2EIPAssociation_networkInterface
=== PAUSE TestAccEC2EIPAssociation_networkInterface
=== RUN TestAccEC2EIPAssociation_spotInstance
=== PAUSE TestAccEC2EIPAssociation_spotInstance
=== CONT TestAccEC2EIPAssociation_basic
=== CONT TestAccEC2EIPAssociation_networkInterface
=== CONT TestAccEC2EIPAssociation_spotInstance
--- PASS: TestAccEC2EIPAssociation_networkInterface (23.28s)
=== CONT TestAccEC2EIPAssociation_instance
--- PASS: TestAccEC2EIPAssociation_basic (138.48s)
=== CONT TestAccEC2EIPAssociation_disappears
--- PASS: TestAccEC2EIPAssociation_spotInstance (140.16s)
--- PASS: TestAccEC2EIPAssociation_instance (138.53s)
--- PASS: TestAccEC2EIPAssociation_disappears (129.49s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 273.384s
This functionality has been released in v5.83.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! |
Description
This PR is to add the
association_id
attribute to theaws_eip_association
resource so that it is more aligned with typical convention with ID attributes. As per the original issue, the documentation has also been updated to include bothid
andassociation_id
. Argument descriptions have also been updated to better reflect their specs.Relations
Closes #40766
References
Referred to AssociateAddress for specs and wordings.
Output from Acceptance Testing