Skip to content

Commit ffd9b1d

Browse files
OguzPastirmacihyder
authored andcommitted
Update instanceconfig.tf
Signed-off-by: Oguz Pastirmaci <oguz.pastirmaci@oracle.com>
1 parent 0a84e68 commit ffd9b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/workers/instanceconfig.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ resource "oci_core_instance_configuration" "workers" {
6464
oke-native-pod-networking = var.cni_type == "npn" ? true : false
6565
oke-max-pods = var.max_pods_per_node
6666
pod-subnets = coalesce(var.pod_subnet_id, var.worker_subnet_id, "none")
67-
pod-nsgids = join(",", each.value.pod_nsg_ids)
67+
pod-nsgids = var.cni_type == "npn" ? join(",", each.value.pod_nsg_ids) : null
6868
},
6969

7070
# Only provide cluster DNS service address if set explicitly; determined automatically in practice.

0 commit comments

Comments
 (0)