Skip to content

Commit db75939

Browse files
committed
modified: main.tf
1 parent 1bf27e4 commit db75939

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/oke/main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@ resource "oci_containerengine_node_pool" "oke_node_pool" {
4848
}
4949
}
5050
size = var.oke_nodepool_size
51+
52+
node_pool_pod_network_option_details {
53+
cni_type = var.cni_type
54+
pod_subnet_ids = (var.cni_type == "OCI_VCN_IP_NATIVE") ? [var.subnet_id] : []
55+
}
5156
}
57+
5258

5359
dynamic "node_shape_config" {
5460
for_each = length(regexall("Flex", var.oke_nodepool_shape)) > 0 ? [1] : []

0 commit comments

Comments
 (0)