Skip to content

Commit

Permalink
Update instanceconfig.tf
Browse files Browse the repository at this point in the history
Signed-off-by: Oguz Pastirmaci <[email protected]>
  • Loading branch information
OguzPastirmaci authored and hyder committed Jan 9, 2025
1 parent 0a84e68 commit ffd9b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/workers/instanceconfig.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource "oci_core_instance_configuration" "workers" {
oke-native-pod-networking = var.cni_type == "npn" ? true : false
oke-max-pods = var.max_pods_per_node
pod-subnets = coalesce(var.pod_subnet_id, var.worker_subnet_id, "none")
pod-nsgids = join(",", each.value.pod_nsg_ids)
pod-nsgids = var.cni_type == "npn" ? join(",", each.value.pod_nsg_ids) : null
},

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

0 comments on commit ffd9b1d

Please sign in to comment.