Aws node template IAM profile

When specifying the IAM profile for node template do you specify the full ARN or just the template name?

Do you have a IAM profile? Can you share the policy JSON?

you need to use the name of the IAM role, not the arn. it should have this policy:
{
“Version”: “2012-10-17”,
“Statement”: [
{
“Effect”: “Allow”,
“Action”: “ec2:Describe*”,
“Resource”: “"
},
{
“Effect”: “Allow”,
“Action”: “ec2:AttachVolume”,
“Resource”: "

},
{
“Effect”: “Allow”,
“Action”: “ec2:DetachVolume”,
“Resource”: “"
},
{
“Effect”: “Allow”,
“Action”: [
"ec2:

],
“Resource”: [
"
]
},
{
“Effect”: “Allow”,
“Action”: [
"elasticloadbalancing:

],
“Resource”: [
“*”
]
}
]
}

https://rancher.com/docs/rancher/v2.x/en/concepts/clusters/cloud-providers/#aws

I created a role and specified this one in the node template but I’ve got an error like I wrote un this topic below. Do you have an Idea?