Skip to content
Permalink
Browse files

remove unsetting of AWS_* vars for now

causes issues in Lambda
  • Loading branch information...
tj committed Feb 22, 2018
1 parent d355ced commit a8a53ac6c61fd8dcfe57d314932a1dc73ae51067
Showing with 0 additions and 4 deletions.
  1. +0 −4 config/config.go
@@ -424,8 +424,4 @@ func python(c *Config) {
// setProfile sets the AWS_PROFILE.
func setProfile(name string) {
os.Setenv("AWS_PROFILE", name)
os.Unsetenv("AWS_ACCESS_KEY")
os.Unsetenv("AWS_ACCESS_KEY_ID")
os.Unsetenv("AWS_SECRET_ACCESS_KEY")
os.Unsetenv("AWS_SECRET_KEY")
}

0 comments on commit a8a53ac

Please sign in to comment.
You can’t perform that action at this time.