mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-19 16:21:09 +01:00
fix: Sub-modules output the correct eks worker iam arn when workers utilize custom iam role (#1912)
This commit is contained in:
@@ -124,7 +124,7 @@ output "iam_role_unique_id" {
|
||||
|
||||
output "iam_instance_profile_arn" {
|
||||
description = "ARN assigned by AWS to the instance profile"
|
||||
value = try(aws_iam_instance_profile.this[0].arn, "")
|
||||
value = try(aws_iam_instance_profile.this[0].arn, var.iam_instance_profile_arn)
|
||||
}
|
||||
|
||||
output "iam_instance_profile_id" {
|
||||
|
||||
Reference in New Issue
Block a user