mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-26 04:09:34 +01:00
d6d9e6c4b9
* Replace v0.11 bracket type hints with Terraform v0.12 list expressions * Use expression syntax instead of interpolated strings, where suggested * Update Google Cloud tutorial and worker pools documentation * Define Terraform and plugin version requirements in versions.tf * Require google ~> 2.5 to support Terraform v0.12 * Require ct ~> 0.3.2 to support Terraform v0.12
23 lines
651 B
HCL
23 lines
651 B
HCL
module "workers" {
|
|
source = "./workers"
|
|
name = var.cluster_name
|
|
cluster_name = var.cluster_name
|
|
|
|
# GCE
|
|
region = var.region
|
|
network = google_compute_network.network.name
|
|
worker_count = var.worker_count
|
|
machine_type = var.worker_type
|
|
os_image = var.os_image
|
|
disk_size = var.disk_size
|
|
preemptible = var.worker_preemptible
|
|
|
|
# configuration
|
|
kubeconfig = module.bootkube.kubeconfig-kubelet
|
|
ssh_authorized_key = var.ssh_authorized_key
|
|
service_cidr = var.service_cidr
|
|
cluster_domain_suffix = var.cluster_domain_suffix
|
|
clc_snippets = var.worker_clc_snippets
|
|
}
|
|
|