Skip to content

Commit 7a563ff

Browse files
committed
minor bug fix
1 parent 70dbc02 commit 7a563ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ resource "aws_eks_node_group" "eks_ng" {
8787
}
8888

8989
dynamic "remote_access" {
90-
for_each = length(var.remote_access) ? [] : [var.remote_access]
90+
for_each = length(var.remote_access) == 0 ? [] : [var.remote_access]
9191
content {
9292
ec2_ssh_key = lookup(remote_access.value, "ssh_key_name", null)
9393
source_security_group_ids = lookup(remote_access.value, "sg_ids", null)

0 commit comments

Comments
 (0)