output "role_arn" { value = var.enabled ? aws_iam_role.this[0].arn : null description = "The IAM role ARN." } output "role_name" { value = var.enabled ? aws_iam_role.this[0].name : null description = "The IAM role name (echoes the input)." }