I know this should be straight forward, but I’m st...
# general
m
I know this should be straight forward, but I’m struggling, how do I attach a IAM Role to an ec2 instance? I know I attach an instance profile, but what if I want to use a managed policy?
No magic bullet, I think I have to create the role, then attach a policy to the role, then create the instance profile from the role.
m
Thank you for that!
i
Crosswalk also looks to have helpers here, if you’re using a language supported by that https://www.pulumi.com/docs/guides/crosswalk/aws/iam/#iam-roles
👍 1