awsdocs / aws-cloudformation-user-guide

The open source version of the AWS CloudFormation User Guide
Other
766 stars 1.3k forks source link

Fix GetAtt IAM::Role RoleId example #1328

Closed neilfordyce closed 11 months ago

neilfordyce commented 1 year ago

Issue #, if available:

Description of changes: I found this a little confusing, since I was looking to get an AROA ID of a Role in a S3 Bucket policy. If it was returning an AIDA, it wasn't clear what user the AIDA would be for. Turns out this does work and returns an AROA, but the doc example was ever so slightly misleading.

GetAtt RoleId on Type: IAM::Role returns a prefix of AROA not a AIDA as per https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

joshbean commented 11 months ago

Closing this issue or pull request in advance of archiving this repo. For more information about the decision to archive this repo (and others in the 'awsdocs' org), see the announcement on the AWS News Blog.