Skip to content
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 data source for transit gateway's Direct Connect gateway attachment #8590

Closed
ewbankkit opened this issue May 9, 2019 · 3 comments · Fixed by #8678
Closed

Add data source for transit gateway's Direct Connect gateway attachment #8590

ewbankkit opened this issue May 9, 2019 · 3 comments · Fixed by #8678
Labels
new-data-source Introduces a new data source. service/directconnect Issues and PRs that pertain to the directconnect service. service/ec2 Issues and PRs that pertain to the ec2 service.
Milestone

Comments

@ewbankkit
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

When a Direct Connect gateway is associated with a transit gateway a transit gateway attachment with resource type direct-connect-gateway is created.
We need a new data source to be able to obtain the ID of this attachment.
See this comment.

Related:

Possible syntax:

data "aws_ec2_transit_gateway_dx_gateway_attachment" "example" {
  transit_gateway_id = "${aws_ec2_transit_gateway.example.id}"
  dx_gateway_id      = "${aws_dx_gateway.example.id}"
}
@ewbankkit ewbankkit added the enhancement Requests to existing resources that expand the functionality or scope. label May 9, 2019
@bflad bflad added new-data-source Introduces a new data source. service/directconnect Issues and PRs that pertain to the directconnect service. service/ec2 Issues and PRs that pertain to the ec2 service. and removed enhancement Requests to existing resources that expand the functionality or scope. labels Jun 6, 2019
@bflad bflad added this to the v2.14.0 milestone Jun 6, 2019
@bflad
Copy link
Contributor

bflad commented Jun 6, 2019

The new aws_ec2_transit_gateway_dx_gateway_attachment data source has been merged and will be released shortly with version 2.14.0 of the Terraform AWS Provider. Thanks, @ewbankkit!

@bflad
Copy link
Contributor

bflad commented Jun 7, 2019

This has been released in version 2.14.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Nov 3, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-data-source Introduces a new data source. service/directconnect Issues and PRs that pertain to the directconnect service. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants