Packer: amazon-ebs builder: specify iam role of packer instance

Created on 23 Sep 2015  路  2Comments  路  Source: hashicorp/packer

Hi all,
Is it possible to specify the iam role of the packer instance being launched for provisioning?

Most helpful comment

Hi!
This question is better suited for the Packer Google Group. The issues section is for bug tracking of Packer itself.

But to answer your question, you sure can. See iam_instance_profile in the config documentation. There was an issue with this introduced in 0.8.0, however it is resolved in 0.8.6. However if you are using STS and IAM roles you may have an issue. See #2611 for more info.

All 2 comments

Hi!
This question is better suited for the Packer Google Group. The issues section is for bug tracking of Packer itself.

But to answer your question, you sure can. See iam_instance_profile in the config documentation. There was an issue with this introduced in 0.8.0, however it is resolved in 0.8.6. However if you are using STS and IAM roles you may have an issue. See #2611 for more info.

Ah, I just thought it didn't exist since that flag didn't work when I tried it. Should've looked for the issue. Thanks!

Was this page helpful?
0 / 5 - 0 ratings