components/terraform/iam-role/outputs.tf
350 B - View raw file
output "role_arn" {
description = "The ARN of the IAM role"
value = try(aws_iam_role.this[0].arn, null)
}
output "role_name" {
description = "The name of the IAM role"
value = try(aws_iam_role.this[0].name, null)
}
output "role_id" {
description = "The ID of the IAM role"
value = try(aws_iam_role.this[0].id, null)
}