New to terraform. Love it so far.
I need to attach an existing IAM Role to an instance at spinup but I cannot find the correct syntax. Can someone give me some insight on how to accomplish this?
Thanks,
ZZ
Found it after some digging:
iam_instance_profile = "Role_Name"
thanks for that @zeninfinity. Works for me.
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
Found it after some digging:
iam_instance_profile = "Role_Name"