Knife ec2 create - equivalent of iam-instance-profile

Ohai,

Trying to find a way to attach an instance-profile at boot time. I’m not
finding anything that would do that on knife ec2 server create.
Any pointers appreciated.

You’ll need to use a bleeding-edge version of kitchen-ec2, at least 0a378d5, though I’ve been using 1970f56 with no issues. The IAM profile support was added in this PR: https://github.com/test-kitchen/kitchen-ec2/pull/35


Jeff Byrnes
@berkleebassist
Operations Engineer
EverTrue
704.516.4628

On July 24, 2014 at 9:55:40 AM, andi abes (andi.abes@gmail.com) wrote:

Ohai,

Trying to find a way to attach an instance-profile at boot time. I’m not finding anything that would do that on knife ec2 server create.
Any pointers appreciated.

yea.. seems to be an issue vs help :wink:

found it the help output:

   --iam-profile NAME           The IAM instance profile to apply to

this instance.

On Thu, Jul 24, 2014 at 10:05 AM, Jeff Byrnes jeff@evertrue.com wrote:

You’ll need to use a bleeding-edge version of kitchen-ec2, at least 0a378d5,
though I’ve been using 1970f56 with no issues. The IAM profile support was
added in this PR: IAM Profile Support for Created instance by nicgrayson · Pull Request #35 · test-kitchen/kitchen-ec2 · GitHub

--
Jeff Byrnes
@berkleebassist http://twitter.com/berkleebassist
Operations Engineer
EverTrue http://www.evertrue.com/
704.516.4628

On July 24, 2014 at 9:55:40 AM, andi abes (andi.abes@gmail.com) wrote:

Ohai,

Trying to find a way to attach an instance-profile at boot time. I'm not
finding anything that would do that on knife ec2 server create.
Any pointers appreciated.