role_id
Stable and unique string identifying the role. This ID remains constant even if the role is recreated with the same name. Use for: - CloudWatch log group policies scoped to specific roles - S3 bucket policies with aws:userId condition - Audit trails requiring stable identifiers
Stable and unique string identifying the role.
Example Value
AROA3XFRBF535EXAMPLE
Usage
module "iam_role" {
source = "registry.patterneddesigns.ca/patterneddesigns/iam-role/aws"
version = "0.1.0"
# ... inputs
}
# Access this output
output "role_id" {
value = module.iam_role.role_id
}