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

feat: adds support to multi-level submodule #2610

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

amandakarina
Copy link
Contributor

@amandakarina amandakarina commented Sep 20, 2024

Adds support to sub-modules in structure:
terraform-google-modules/example/step/module/bar-module

@apeabody
Copy link
Collaborator

/gcbrun

@apeabody
Copy link
Collaborator

@bharathkkb FYI: This is for compatibility with repo like https://github.com/GoogleCloudPlatform/terraform-google-enterprise-application

@apeabody
Copy link
Collaborator

/gcbrun

@amandakarina amandakarina marked this pull request as ready for review September 20, 2024 19:51
Copy link

@renato-rudnicki renato-rudnicki left a 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

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.

Copy link
Collaborator

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.

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

Successfully merging this pull request may close these issues.

3 participants