mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-24 02:11:04 +01: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
@@ -328,7 +328,7 @@ resource "aws_iam_instance_profile" "workers" {
|
||||
role = lookup(
|
||||
var.worker_groups[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