From d195ebe3a71263e335f5c3e604c313e76b6d6fc1 Mon Sep 17 00:00:00 2001 From: badra001 Date: Wed, 22 Dec 2021 15:37:31 -0500 Subject: [PATCH] fix --- outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 : "" }