-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Network 2.0 #103
Comments
Hey @morgante, is there any assistance needed for this? If so I would be happy to submit a PR. While we are breaking things, I would also like to see...
Would you be open to either of those? |
We'd definitely appreciate any help/PRs!
Yes, this is a good idea. We should probably do it while also moving routes into a submodule.
I think @tfhartmann tried to do this, but there are still some issues with maps of maps in Terraform 0.12. You're more than welcome to give it a shot though. |
Hey @morgante, I see @tfhartmann was working on #69? I'm catching up on it now, and realized I also ran into hashicorp/terraform#22449 when trying to do something similar 😄. I'll follow up on that PR. Is there a recommended approach for moving code to the submodules when there are PRs open against those same sections? Should I just base any changes off of the |
@taylorludwig Could you pick this up?
|
Yep, can do. |
To clarify, @taylorludwig is going to start by focusing on the 4 points in the initial comment. |
For the Network 2.0 version, we'd like to make a few architecture changes.
Specifically:
subnets
submodule.routes
submodule.vpc
submodule.If you want to do everything in 1 module call, you will continue to be able to do so (through the root module). If you want to split things out, you can invoke the root module to only create the VPC then directly invoke submodules yourself for the other features.
This should future-proof the architecture and make issues like #100 simpler to deal with.
The text was updated successfully, but these errors were encountered: