-
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 arn attribute to aws_ec2_transit_gateway_peering_attachment resource and data source #41087
feat: Add arn attribute to aws_ec2_transit_gateway_peering_attachment resource and data source #41087
Conversation
Community NoteVoting for Prioritization
For Submitters
|
… resource and data source
6e3e400
to
ed0eabe
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=TestAccTransitGateway_serial/PeeringAttachment_basic' PKG=ec2
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 20 -run=TestAccTransitGateway_serial/PeeringAttachment_basic -timeout 360m -vet=off
2025/01/28 08:01:45 Initializing Terraform AWS Provider...
=== RUN TestAccTransitGateway_serial
=== PAUSE TestAccTransitGateway_serial
=== CONT TestAccTransitGateway_serial
=== RUN TestAccTransitGateway_serial/PeeringAttachment_basic
=== PAUSE TestAccTransitGateway_serial/PeeringAttachment_basic
=== CONT TestAccTransitGateway_serial/PeeringAttachment_basic
--- PASS: TestAccTransitGateway_serial (0.00s)
--- PASS: TestAccTransitGateway_serial/PeeringAttachment_basic (361.93s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 367.531s
@acwwat Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.85.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
The PR is to add the (calculated)
arn
attribute to theaws_ec2_transit_gateway_peering_attachment
resource and data source.Relations
Closes #40923 (along with #41084 and #41086)
References
Referred to ARN format in Actions, resources, and condition keys for Amazon EC2 as referenced in the original GitHub issue.
Output from Acceptance Testing
For the
aws_ec2_transit_gateway_peering_attachment
resource:For the
aws_ec2_transit_gateway_peering_attachment
data source: