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

Commit 7a1f1bc

Browse files
authored
Merge pull request #32 from segmentio/dont-set-profile
setting AWS_PROFILE as part of exec leads to errors in some apps:
2 parents 4f26eaa + ce53cb8 commit 7a1f1bc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/exec.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ func execRun(cmd *cobra.Command, args []string) error {
145145

146146
env.Set("AWS_ACCESS_KEY_ID", creds.AccessKeyID)
147147
env.Set("AWS_SECRET_ACCESS_KEY", creds.SecretAccessKey)
148-
env.Set("AWS_PROFILE", profile)
149148

150149
if creds.SessionToken != "" {
151150
env.Set("AWS_SESSION_TOKEN", creds.SessionToken)

0 commit comments

Comments
 (0)