Skip to content

Latest commit

 

History

History
executable file
·
50 lines (38 loc) · 5.25 KB

README.md

File metadata and controls

executable file
·
50 lines (38 loc) · 5.25 KB

Terraform Documentation

Requirements

No requirements.

Providers

Name Version
terraform n/a

Modules

Name Source Version
kubernetes_engine_regional github.com/osinfra-io/terraform-google-kubernetes-engine//regional v0.1.8

Resources

Name Type
terraform_remote_state.main data source

Inputs

Name Description Type Default Required
environment The environment for example: sandbox, non-production, production string "sandbox" no
kubernetes_engine_enable_gke_hub_host Whether or not to enable GKE Hub Host bool false no
kubernetes_engine_gke_hub_memberships The map of GKE Hub Memberships to create
map(object({
cluster_id = string
}))
{} no
kubernetes_engine_master_ipv4_cidr_block The IP range in CIDR notation to use for the hosted master network string n/a yes
kubernetes_engine_node_location The zone to deploy the nodes to string n/a yes
kubernetes_engine_node_pools The node pools to create in the cluster
map(object({
auto_repair = optional(bool)
auto_upgrade = optional(bool)
disk_size_gb = optional(number)
disk_type = optional(string)
image_type = optional(string)
machine_type = optional(string)
max_node_count = optional(number, 3)
min_node_count = optional(number, 1)
node_count = optional(number)
oauth_scopes = optional(list(string), ["https://www.googleapis.com/auth/cloud-platform"])
upgrade_settings_batch_node_count = optional(number)
upgrade_settings_batch_percentage = optional(number)
upgrade_settings_batch_soak_duration = optional(string)
upgrade_settings_node_pool_soak_duration = optional(string)
upgrade_settings_max_surge = optional(number)
upgrade_settings_max_unavailable = optional(number, 1) # hashicorp/terraform-provider-google#17164
upgrade_settings_strategy = optional(string, "SURGE")
}))
{
"default-pool": {
"machine_type": "n2-standard-2"
}
}
no
kubernetes_engine_vpc_host_project_id Host project for the shared VPC string n/a yes
region The region to deploy the resources to string n/a yes
remote_bucket The remote bucket the terraform_remote_state data source retrieves the state from string n/a yes
zone The zone to deploy the resources to string n/a yes

Outputs

Name Description
kubernetes_engine_container_cluster_ca_certificate Base64 encoded public certificate that is the root of trust for the cluster
kubernetes_engine_container_cluster_endpoint The connection endpoint for the cluster
kubernetes_engine_container_cluster_name The name of the cluster, unique within the project and location
kubernetes_engine_service_account_gke_operations_email The email address of the Kubernetes minimum privilege service account for the cluster
project_id The project ID