lib/aws_su.rb in aws_su-0.1.4 vs lib/aws_su.rb in aws_su-0.1.5
- old
+ new
@@ -179,10 +179,10 @@
ENV['AWS_SECRET_ACCESS_KEY'] = config.credentials.secret_access_key
ENV['AWS_SESSION_TOKEN'] = config.credentials.session_token
ENV['AWS_SECURITY_TOKEN'] = config.credentials.session_token
ENV['AWS_TOKEN_TTL'] = @token_ttl
ENV['AWS_PROFILE'] = @profile
- ENV['AWS_REGION'] = @region
+ ENV['AWS_DEFAULT_REGION'] = @region
end
# Load the user's AWS Secrets
def load_secrets
Awsecrets.load