-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Stacks: run #3762
Stacks: run #3762
Conversation
func generateStack(ctx context.Context, opts *options.TerragruntOptions) error { | ||
opts.TerragruntStackConfigPath = filepath.Join(opts.WorkingDir, defaultStackFile) | ||
opts.Logger.Infof("Generating stack from %s", opts.TerragruntStackConfigPath) |
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.
Does this need to be in info?
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.
Without an info message, it is not clear what is happening, the user doesn't see any message and it is not clear which units got processed
if err := os.MkdirAll(baseDir, dirPerm); err != nil { | ||
return errors.New(fmt.Errorf("failed to create base directory: %w", err)) | ||
} | ||
|
||
for _, unit := range stackFile.Units { | ||
opts.Logger.Infof("Processing unit %s", unit.Name) |
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.
Does this need to be in info?
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.
Beautiful ✨
Description
Included changes:
stack run *
commandstack run
functionalityRFC: #3313
TODOs
Read the Gruntwork contribution guidelines.
Release Notes (draft)
Added / Removed / Updated [X].
Migration Guide