-
-
Notifications
You must be signed in to change notification settings - Fork 966
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
Implement minimal debug feature #1263
Conversation
// account all the generated sources. | ||
func terraformModuleVariables(terragruntOptions *options.TerragruntOptions) ([]string, error) { | ||
modulePath := terragruntOptions.WorkingDir | ||
module, diags := tfconfig.LoadModule(modulePath) |
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.
Oh, this library makes this super easy, nice!
Closing in favor of #1267 |
Reopened given #1267 (comment) |
@brikis98 any objections to merging this version of debug mode in? This is the original implementation, where it doesn't touch the main way terragrunt passes vars, and instead introduces debug mode as a way to emit the tfvars json 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.
Ship it!
Thanks for review! Merging and releasing now. |
This takes #1137 and reduces the scope to just outputting a workable tfvars file. This should be the minimal increment for a usable debug command that should significantly improve status quo.