diff --git a/outputs.tf b/outputs.tf index 312ad09..9a56266 100644 --- a/outputs.tf +++ b/outputs.tf @@ -16,5 +16,5 @@ output "ldap_dn" { output "instance_profile_arn" { description = "Created instance profile ARN, if enabled" - value = var.enable_instance_profile ? aws_iam_instance_profile.role.arn : "" + value = var.enable_instance_profile ? aws_iam_instance_profile.role[0].arn : "" }