mirror of
https://github.com/terraform-aws-modules/terraform-aws-eks.git
synced 2025-09-09 19:32:58 +08:00
use default_iam_role_id interpolation for aws_iam_instance_profile (#489)
This commit is contained in:
committed by
Max Williams
parent
2254ab709e
commit
4264a5fe6e
@@ -382,7 +382,7 @@ resource "aws_iam_instance_profile" "workers_launch_template_mixed" {
|
||||
role = lookup(
|
||||
var.worker_groups_launch_template_mixed[count.index],
|
||||
"iam_role_id",
|
||||
local.workers_group_defaults["iam_role_id"],
|
||||
local.default_iam_role_id,
|
||||
)
|
||||
path = var.iam_path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user