Need IAM Policy Name not ARN/ID
Closed this issue · 3 comments
estein9825 commented
Terraform doesn't allow iam role lookups by ID or ARN, so it doesn't help much that you guys return that info, especially given you're doing name_prefix and not name in your call.
brikis98 commented
Sounds like a good addition. Would you be up for a really quick PR?
tomaspinho commented
Need this, opened PR.
brikis98 commented
Update: it's a bit confusing, but in Terraform, the id
output of aws_iam_role
is the same as name
. So between id
and arn
outputs, you should have everything you need.