Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Move error down to a warn when we can't bind AWS or TF
Browse files Browse the repository at this point in the history
It was previously uncaught, so this is still an improvement.

And it makes a massive assumption about how stuff is configured anyway,
so needs refactoring at some point
  • Loading branch information
Lucy Davinhart committed Feb 23, 2020
1 parent 6a94b52 commit df8e50e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ Examples:
task.AddEnv("AWS_PROFILE", cli.FlagValues().GetString("aws-profile"))
err := creds.BindAWS(t, args)
if err != nil {
log.Fatalf("Could not bind AWS dir: %v", err)
log.Warnf("Could not bind AWS dir: %v", err)
}
err = creds.BindTerraform(t, args)
if err != nil {
log.Fatalf("Could not bind Terraform dir: %v", err)
log.Warnf("Could not bind Terraform dir: %v", err)
}

// For terraform init only, download custom plugins, if any
Expand Down

0 comments on commit df8e50e

Please sign in to comment.