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

aws-ec2 : Lookup method for transit gateway #32091

Open
2 tasks
hrider opened this issue Nov 11, 2024 · 2 comments
Open
2 tasks

aws-ec2 : Lookup method for transit gateway #32091

hrider opened this issue Nov 11, 2024 · 2 comments
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p3

Comments

@hrider
Copy link

hrider commented Nov 11, 2024

Describe the feature

Provide a lookup method for transit gateway. When Transit gateway attachments are provisioned on multi accounts, tags do not carry over. By having a lookup method, we can add the tags programatically.

Use Case

When Transit gateway attachments are provisioned in multi account setup, tags do not carry over into the owner account. By having a lookup method, we can add the tags programmatically.

Proposed Solution

Provide lookup method for transit gateway.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.160.0

Environment details (OS name and version, etc.)

mac sonoma 14.7

@hrider hrider added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 11, 2024
@hrider hrider changed the title aws-ec2 : Lookup funciton for transit gateway aws-ec2 : Lookup method for transit gateway Nov 11, 2024
@github-actions github-actions bot added the @aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud label Nov 11, 2024
@pahud
Copy link
Contributor

pahud commented Nov 11, 2024

Can you share more details and if possible, give me some sample code snippets of your preferred design?

This sound like using a fromLookup() method to query existing transit gateways using SDK calls and add tags to them?

@pahud pahud added p3 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Nov 11, 2024
@hrider
Copy link
Author

hrider commented Nov 11, 2024

You are correct. I am seeking sth similar to IVPC. ec2.Vpc.fromLookup(this, 'vpc', { vpcId: 'vpc-xxx' });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p3
Projects
None yet
Development

No branches or pull requests

2 participants