- From: Mark Harrison <
>
- To:
- Subject: [chef] Re: Re: Re: Using config/credential profiles with chef-provisioning-aws
- Date: Fri, 30 Jan 2015 10:59:33 -0500
Possibly stupid question: do the profiles other than the default one
start with 'profile' (e.g. '[profile test1]') in the credentials file
(the AWS credentials file is weird in that the default profile is just
[default], but others are [profile profilename])? Also, do your
alternate profiles with with the aws command line tools and the
--profile option or other non-chef-provisioning tools?
On Thu, Jan 29, 2015 at 10:21 PM, Christine Draper
<
>
wrote:
>
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
>
<
>
>
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
>
> <
>
>
> 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
>
>> > <
>
>
>> > 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
>
>>
>
>
>
[chef] Re: Using config/credential profiles with chef-provisioning-aws, Scott Ford, 01/29/2015
Archive powered by MHonArc 2.6.16.