Closed grimm26 closed 8 years ago
https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/91 broke things. Perhaps it went unnoticed by people whose default profile is getting picked up automagically.
When the initializer for AwsCfn is called in the cfn method, it sets aws_profile. So when the user is not purposefully setting aws_profile, the authentication env variables were being blown away because the aws_profile key existed.
https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/91 broke things. Perhaps it went unnoticed by people whose default profile is getting picked up automagically.
When the initializer for AwsCfn is called in the cfn method, it sets aws_profile. So when the user is not purposefully setting aws_profile, the authentication env variables were being blown away because the aws_profile key existed.