-
Notifications
You must be signed in to change notification settings - Fork 452
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
feat: adds support to multi-level submodule #2610
base: master
Are you sure you want to change the base?
feat: adds support to multi-level submodule #2610
Conversation
/gcbrun |
@bharathkkb FYI: This is for compatibility with repo like https://github.com/GoogleCloudPlatform/terraform-google-enterprise-application |
/gcbrun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a question, but the rest looks good.
source = "terraform-google-modules/example-with-steps-submodules/google" | ||
version = "~> 3.2.0" | ||
|
||
project_id = var.project_id # Replace this with your project ID in quotes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the comment # Replace this with your project ID in quotes
I'm wondering if the best approach would be to hardcode the project_id on the main.tf or keep the it as it is (variables) and add the value into a terraform.tfvars
file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @renato-rudnicki - This is testdata, and this particular field isn't actually critical to the test.
Adds support to sub-modules in structure:
terraform-google-modules/example/step/module/bar-module