Skip to content

Commit a8bd969

Browse files
committed
fmt
Signed-off-by: junior <junior@users.noreply.github.com>
1 parent 2b81a28 commit a8bd969

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

defaults.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ locals {
4747
route_tables = concat(local.route_tables_oke)
4848
security_lists = concat(local.security_lists_oke)
4949
resolved_vcn_compartment_ocid = (var.create_new_compartment_for_oke ? local.oke_compartment_ocid : var.compartment_ocid)
50-
pre_vcn_cidr_blocks = split(",", var.vcn_cidr_blocks)
51-
vcn_cidr_blocks = contains(module.vcn.cidr_blocks, local.pre_vcn_cidr_blocks[0]) ? distinct(concat([local.pre_vcn_cidr_blocks[0]], module.vcn.cidr_blocks)) : module.vcn.cidr_blocks
50+
pre_vcn_cidr_blocks = split(",", var.vcn_cidr_blocks)
51+
vcn_cidr_blocks = contains(module.vcn.cidr_blocks, local.pre_vcn_cidr_blocks[0]) ? distinct(concat([local.pre_vcn_cidr_blocks[0]], module.vcn.cidr_blocks)) : module.vcn.cidr_blocks
5252
network_cidrs = {
5353
VCN-MAIN-CIDR = local.vcn_cidr_blocks[0] # e.g.: "10.20.0.0/16" = 65536 usable IPs
5454
ENDPOINT-REGIONAL-SUBNET-CIDR = cidrsubnet(local.vcn_cidr_blocks[0], 12, 0) # e.g.: "10.20.0.0/28" = 15 usable IPs

examples/basic-cluster/oke.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module "oke-quickstart" {
1414
tag_values = { "freeformTags" = { "Environment" = "Development", "DeploymentType" = "basic" }, "definedTags" = {} }
1515

1616
# OKE Node Pool 1 arguments
17-
node_pool_cni_type_1 = "FLANNEL_OVERLAY" # Use "OCI_VCN_IP_NATIVE" for VCN Native PODs Network. If the node pool 1 uses the OCI_VCN_IP_NATIVE, the cluster will also be configured with same cni
17+
node_pool_cni_type_1 = "FLANNEL_OVERLAY" # Use "OCI_VCN_IP_NATIVE" for VCN Native PODs Network. If the node pool 1 uses the OCI_VCN_IP_NATIVE, the cluster will also be configured with same cni
1818
cluster_autoscaler_enabled = true
1919
node_pool_initial_num_worker_nodes_1 = 3 # Minimum number of nodes in the node pool
2020
node_pool_max_num_worker_nodes_1 = 10 # Maximum number of nodes in the node pool

0 commit comments

Comments
 (0)