Skip to content

Commit

Permalink
use AWS_DEFAULT_REGION instead of AWS_REGION
Browse files Browse the repository at this point in the history
  • Loading branch information
bdclark committed Jul 14, 2018
1 parent 5bedb90 commit bb4f50d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ func Execute() {
rootCmd.AddCommand(syncCmd)
rootCmd.AddCommand(agentCmd)

if os.Getenv("AWS_REGION") == "" {
os.Setenv("AWS_REGION", "us-east-1")
if os.Getenv("AWS_DEFAULT_REGION") == "" {
os.Setenv("AWS_DEFAULT_REGION", "us-east-1")
}

rootCmd.Execute()
Expand Down

0 comments on commit bb4f50d

Please sign in to comment.