Skip to content

Commit

Permalink
chore: add log before executing external command (#3276)
Browse files Browse the repository at this point in the history
  • Loading branch information
Resonance1584 authored Jul 18, 2024
1 parent 5554d8a commit 4d7e896
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func (provider *Provider) GetCredentials(ctx context.Context) (*providers.Creden
args = parts[1:]
}

provider.terragruntOptions.Logger.Infof("Executing %s to obtain Terragrunt credentials", provider.Name())
output, err := shell.RunShellCommandWithOutput(ctx, provider.terragruntOptions, "", true, false, command, args...)
if err != nil {
return nil, err
Expand Down

0 comments on commit 4d7e896

Please sign in to comment.