Complete GKE node pool

Terraform scripts to create a complete GKE node pool using the module node-pool.

To create a complete GKE node pool:

terraform init
terraform plan
terraform apply

To delete all resource:

terraform destroy

Requirements

Name

Version

terraform

>= 1.0

external

~> 2.3.1

google

~> 6.16.0

local

~> 2.4.0

null

~> 3.2.1

Providers

Name

Version

external

~> 2.3.1

google

~> 6.16.0

local

~> 2.4.0

null

~> 3.2.1

Modules

Name

Source

Version

gke

../../../gke

n/a

node_pool

../..

n/a

vpc

../../../../../networking/gcp/vpc

n/a

Resources

Name

Type

local_file.date_sh

resource

null_resource.timestamp

resource

external_external.static_timestamp

data source

google_client_config.current

data source

google_client_openid_userinfo.current

data source

Inputs

Name

Description

Type

Default

Required

project

Project name

string

n/a

yes

region

The region to host the cluster in

string

"europe-west9"

no

Outputs

Name

Description

instance_group_urls

List of GKE generated instance groups

linux_instance_group_urls

List of GKE generated instance groups for Linux node pools

linux_node_pool_names

List of Linux node pool names

linux_node_pool_versions

Linux node pool versions by node pool name

node_pool_names

List of node pool names

node_pool_versions

Node pool versions by node pool name

service_account

The service account to default running nodes as if not overridden in node_pools.

windows_instance_group_urls

List of GKE generated instance groups for Windows node pools

windows_node_pool_names

List of Windows node pool names

windows_node_pool_versions

Windows node pool versions by node pool name