Skip to content

ataner/oci-tfe-k8s

Repository files navigation

oci-tfe-k8s

POC for OKE using TFC. So many 3-letter acronyms. WTF OMG BBQ LOL!!!111

Requirements

Name Version
terraform >= 1.0.0

Providers

No providers.

Modules

Name Source Version
oke oracle-terraform-modules/oke/oci 4.0.0
vcn oracle-terraform-modules/vcn/oci 3.0.0

Resources

No resources.

Inputs

Name Description Type Default Required
bastion_shape The shape of bastion instance. map(any)
{
"boot_volume_size": 50,
"memory": 4,
"ocpus": 1,
"shape": "VM.Standard.E3.Flex"
}
no
bastion_timezone The preferred timezone for the bastion host. string "Americas/New York" no
compartment_id The compartment id where to create all resources. string "ocid1.compartment.oc1..1234567890" no
create_bastion_host Whether to create a bastion host. bool true no
create_drg whether to create Dynamic Routing Gateway. If set to true, creates a Dynamic Routing Gateway and attach it to the VCN. bool false no
create_operator Whether to create an operator server in a private subnet. bool true no
drg_display_name (Updatable) Name of Dynamic Routing Gateway. Does not have to be unique. string "drg" no
fingerprint Key fingerprint string "AA:BB:CC:DD:EE:FF" no
freeform_tags Tags to apply to different resources. map(any)
{
"bastion": {
"environment": "dev",
"role": "bastion"
},
"operator": {
"environment": "dev",
"role": "operator"
},
"vcn": {
"environment": "dev"
}
}
no
internet_gateway_route_rules (Updatable) List of routing rules to add to Internet Gateway Route Table list(map(string)) null no
label_prefix A string that will be prepended to all resources. string "none" no
load_balancers The type of subnets to create for load balancers. string "public" no
local_peering_gateways Map of Local Peering Gateways to attach to the VCN. map(any) null no
lockdown_default_seclist whether to remove all default security rules from the VCN Default Security List bool true no
nat_gateway_public_ip_id OCID of reserved IP address for NAT gateway. The reserved public IP address needs to be manually created. string "none" no
nat_gateway_route_rules (Updatable) List of routing rules to add to NAT Gateway Route Table list(map(string)) null no
operator_shape The shape of operator instance. map(any)
{
"boot_volume_size": 50,
"memory": 4,
"ocpus": 1,
"shape": "VM.Standard.E3.Flex"
}
no
operator_timezone The preferred timezone for the operator host. string "America/New York" no
private_key Private Key string n/a yes
region OC Region string "" no
ssh_private_key The ssh private key string n/a yes
ssh_public_key The ssh public key. string "" no
subnets parameters to cidrsubnet function to calculate subnet masks within the VCN. map(any)
{
"bastion": {
"netnum": 0,
"newbits": 13
},
"cp": {
"netnum": 2,
"newbits": 13
},
"int_lb": {
"netnum": 16,
"newbits": 11
},
"operator": {
"netnum": 1,
"newbits": 13
},
"pub_lb": {
"netnum": 17,
"newbits": 11
},
"workers": {
"netnum": 1,
"newbits": 2
}
}
no
tenancy_ocid OCID for tenancy string "ocid1.tenancy.oc1..1234567890" no
user_ocid OCID for User string "ocid1.user.oc1..1234567890" no
vcn_cidrs The list of IPv4 CIDR blocks the VCN will use. list(string)
[
"10.0.0.0/16"
]
no
vcn_dns_label A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC within this subnet. string "oke" no
vcn_name name of vcn string "oke-vcn" no
worker_type Whether to provision public or private workers. string "private" no

Outputs

Name Description
cluster_id ID of the Kubernetes cluster
nodepool_ids Map of Nodepool names and IDs

About

but whyyyyyyy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages