Skip to content

Latest commit

 

History

History
executable file
·
44 lines (32 loc) · 4.17 KB

README.md

File metadata and controls

executable file
·
44 lines (32 loc) · 4.17 KB

Terraform Documentation

Requirements

No requirements.

Providers

Name Version
terraform n/a

Modules

Name Source Version
helpers github.com/osinfra-io/terraform-core-helpers//root v0.1.2
kubernetes_engine_regional github.com/osinfra-io/terraform-google-kubernetes-engine//regional v0.2.1

Resources

Name Type
terraform_remote_state.main data source

Inputs

Name Description Type Default Required
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
remote_bucket The remote bucket the terraform_remote_state data source retrieves the state from string n/a yes

Outputs

Name Description
kubernetes_engine_service_account_gke_operations_email The email address of the Kubernetes minimum privilege service account for the cluster