-
-
Notifications
You must be signed in to change notification settings - Fork 323
Expand file tree
/
Copy pathbootstrap.tf
More file actions
15 lines (13 loc) · 687 Bytes
/
bootstrap.tf
File metadata and controls
15 lines (13 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Kubernetes assets (kubeconfig, manifests)
module "bootstrap" {
source = "git::https://github.com/poseidon/terraform-render-bootstrap.git?ref=71fe532622327b87dc24b58390c396a7a9a3c463"
cluster_name = var.cluster_name
etcd_servers = [for fqdn in google_dns_record_set.etcds.*.name : trimsuffix(fqdn, ".")]
api_servers = [format("%s.%s", var.cluster_name, var.dns_zone)]
service_account_issuer = var.service_account_issuer
networking = var.networking
pod_cidr = var.pod_cidr
service_cidr = var.service_cidr
daemonset_tolerations = var.daemonset_tolerations
components = var.components
}