[chef] Re: Re: Using config/credential profiles with chef-provisioning-aws


Chronological Thread 
  • From: Christine Draper < >
  • To:
  • Subject: [chef] Re: Re: Using config/credential profiles with chef-provisioning-aws
  • Date: Thu, 29 Jan 2015 21:21:39 -0600

It seems that there may be a bug in the profile support.   Whatever profile name I put in to the driver, it appears to be running with the credentials of the first profile in the file.

On Thu, Jan 29, 2015 at 4:42 PM, Christine Draper < " target="_blank"> > wrote:
Hmm.. I must be doing something stupid somewhere. Doesnt work for me with the env variable either.

I've tried with both the 0.1.3 version that's in ChefDK 0.3.6, and with 0.2.1 (because I needed subnets).

On Thu, Jan 29, 2015 at 4:20 PM, Tyler Ball < " target="_blank"> > wrote:
I am using environmental variables and when I specify CHEF_DRIVER=aws:test1 it uses my profile - does that work for you?  If so, I'm guessing it is a bug with `with_driver`.

What version of chef-provisioning-aws are you using?  The ChefDK?

-T


> On Jan 29, 2015, at 1:39 PM, Christine Draper < " target="_blank"> > wrote:
>
> Hi,
>
> Is there a way to tell chef-provisioning-aws driver to use a profile rather than the default from config/credentials files? I tried
>
> with_driver aws:test1
>
> where test1 is my profile, but that didn't work.
>
> Regards,
> Christine






Archive powered by MHonArc 2.6.16.

§