Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #32 from segmentio/dont-set-profile
Browse files Browse the repository at this point in the history
setting AWS_PROFILE as part of exec leads to errors in some apps:
  • Loading branch information
dfuentes authored Mar 22, 2018
2 parents 4f26eaa + ce53cb8 commit 7a1f1bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ func execRun(cmd *cobra.Command, args []string) error {

env.Set("AWS_ACCESS_KEY_ID", creds.AccessKeyID)
env.Set("AWS_SECRET_ACCESS_KEY", creds.SecretAccessKey)
env.Set("AWS_PROFILE", profile)

if creds.SessionToken != "" {
env.Set("AWS_SESSION_TOKEN", creds.SessionToken)
Expand Down

0 comments on commit 7a1f1bc

Please sign in to comment.