Skip to content

Commit

Permalink
fix workers
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Jan 22, 2024
1 parent 9b038bc commit 47537a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 85-workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ module "workers" {
cluster_certificate_authority = data.aws_eks_cluster.cluster.certificate_authority.0.data

ami_id = try(each.value.ami_id, data.aws_ami.worker.id)
role_name = aws_iam_role.worker.name
security_groups = [aws_security_group.worker.id]
role_name = try(each.value.role_name, aws_iam_role.worker.name)
security_groups = try(each.value.security_groups, [aws_security_group.worker.id])
subnet_ids = try(each.value.subnet_ids, var.subnet_ids)

kubernetes_version = var.kubernetes_version
Expand Down

0 comments on commit 47537a9

Please sign in to comment.