bazaarvoice / cloudformation-ruby-dsl

Ruby DSL for creating Cloudformation templates
Apache License 2.0
210 stars 76 forks source link

check that ags[:aws_profile] is not nil or empty #93

Closed grimm26 closed 8 years ago

grimm26 commented 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.