fix: Sub-modules output the correct eks worker iam arn when workers utilize custom iam role (#1912)

This commit is contained in:
Dewen Kong
2022-03-17 08:09:09 -04:00
committed by GitHub
parent 66200f1c1d
commit 06a3469d20
3 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ output "iam_role_name" {
output "iam_role_arn" {
description = "The Amazon Resource Name (ARN) specifying the IAM role"
value = try(aws_iam_role.this[0].arn, "")
value = try(aws_iam_role.this[0].arn, var.iam_role_arn)
}
output "iam_role_unique_id" {