We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70dbc02 commit 7a563ffCopy full SHA for 7a563ff
main.tf
@@ -87,7 +87,7 @@ resource "aws_eks_node_group" "eks_ng" {
87
}
88
89
dynamic "remote_access" {
90
- for_each = length(var.remote_access) ? [] : [var.remote_access]
+ for_each = length(var.remote_access) == 0 ? [] : [var.remote_access]
91
content {
92
ec2_ssh_key = lookup(remote_access.value, "ssh_key_name", null)
93
source_security_group_ids = lookup(remote_access.value, "sg_ids", null)
0 commit comments