Skip to content

Commit

Permalink
provision: fix default aws credentials path (#537)
Browse files Browse the repository at this point in the history
* default changed from `~/.aws/config` to `~/.aws/credentials`
  (see https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html)
  • Loading branch information
bobheadxi committed Feb 8, 2019
1 parent 51c177b commit 444f868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/provision/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ This ensures that your project ports are properly exposed and externally accessi
"load ec2 credentials from environment - requires AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY to be set")
provEC2.Flags().Bool(flagFromProfile, false,
"load ec2 credentials from profile")
provEC2.Flags().String(flagProfilePath, "~/.aws/config",
"path to aws profile configuration file")
provEC2.Flags().String(flagProfilePath, "~/.aws/credentials",
"path to aws profile credentials file")
provEC2.Flags().String(flagProfileUser, "default",
"user profile for aws credentials file")

Expand Down

0 comments on commit 444f868

Please sign in to comment.