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

create_network flag is not respected in 2.1.1, only 1.5.0 #156

Closed
spacertechie opened this issue Feb 21, 2020 · 2 comments · Fixed by #159
Closed

create_network flag is not respected in 2.1.1, only 1.5.0 #156

spacertechie opened this issue Feb 21, 2020 · 2 comments · Fixed by #159
Assignees
Labels
bug Something isn't working P2 high priority issues triaged Scoped and ready for work

Comments

@spacertechie
Copy link

spacertechie commented Feb 21, 2020

[x:~/terraform-modules/terraform-google-network] master 7s ± grep -r "create_network" * CHANGELOG.md: data source attributes when create_network=true. [#94] variables.tf:variable "create_network" { [x:~/terraform-modules/terraform-google-network] master ±

When running plan in 2.1.1 it said it would re-create the network.

@morgante
Copy link
Contributor

Correct, in the v2 module we have removed the ability to invoke the root module without creating networks. This means the create_network variable is no longer functional and should be removed (bug).

If you want to create subnets without creating the network itself, you should invoke the submodule like the root module does.

@morgante morgante added bug Something isn't working P2 high priority issues triaged Scoped and ready for work labels Feb 21, 2020
@spacertechie
Copy link
Author

'preciate the info, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2 high priority issues triaged Scoped and ready for work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants