Hi all,
Is it possible to specify the iam role of the packer instance being launched for provisioning?
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!
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.