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

TGW attachment without dedicated subnets #141

Open
defiant214 opened this issue Dec 22, 2023 · 2 comments
Open

TGW attachment without dedicated subnets #141

defiant214 opened this issue Dec 22, 2023 · 2 comments

Comments

@defiant214
Copy link

Is it possible to use this module to create a VPC and attach to a transit gateway without having dedicated transit gateway subnets? For example, if I wanted a simple 2-AZ VPC with just a private subnet in each AZ. The TGW ENI would just be in each private subnet.

Thanks in advance.

@drewmullen
Copy link
Contributor

Hi @defiant214 Thanks for opening this question!

This module does not allow that. Best practice is to have a dedicated tgw subnet so we have designed around that aws recommendation.

To accomplish your goal using this module you can call to build your VPC as normal then create the attachment using the output values

I hope this helps!

@defiant214
Copy link
Author

@drewmullen thanks! I figured as much, but figured I'd ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants