Reputation: 131
I don't want the complete ARN of my IAM role. I just want the name of it. Should I use: var.name or var.id?
Thanks in advance.
Upvotes: 0
Views: 305
Reputation: 26074
Both are identical, so you can use either. From the terraform docs:
id - Name of the role.
name - Name of the role
Upvotes: 2