generated from oracle-quickstart/oci-quickstart-template
-
Notifications
You must be signed in to change notification settings - Fork 16
/
oke.tf
24 lines (22 loc) · 1.45 KB
/
oke.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Copyright © 2021, Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
module "oci-oke" {
source = "github.com/oracle-quickstart/oci-oke"
tenancy_ocid = var.tenancy_ocid
compartment_ocid = var.compartment_ocid
oke_cluster_name = var.oke_cluster_name
k8s_version = var.k8s_version
pool_name = var.pool_name
node_shape = var.node_shape
node_ocpus = var.node_ocpus
node_memory = var.node_memory
node_count = var.node_count
use_existing_vcn = true
vcn_id = oci_core_vcn.my_vcn.id
is_api_endpoint_subnet_public = true # OKE API Endpoint will be public (Internet facing)
api_endpoint_subnet_id = oci_core_subnet.my_api_endpoint_subnet.id # public subnet
is_lb_subnet_public = true # OKE LoadBalanacer will be public (Internet facing)
lb_subnet_id = oci_core_subnet.my_lb_subnet.id # public subnet
is_nodepool_subnet_public = true # OKE NodePool will be public (Internet facing)
nodepool_subnet_id = oci_core_subnet.my_nodepool_subnet.id # public subnet
}