diff --git a/bootstrap.tf b/bootstrap.tf index 6ddd439..f7792c9 100644 --- a/bootstrap.tf +++ b/bootstrap.tf @@ -1,11 +1,10 @@ # Kubernetes assets (kubeconfig, manifests) module "bootstrap" { - source = "git::https://github.com/poseidon/terraform-render-bootstrap.git?ref=7988fb7159cb81e2d080b365b147fe90542fd258" + source = "git::https://github.com/poseidon/terraform-render-bootstrap.git?ref=9037d7311b949439b217cd9c657d4500eab3e16b" cluster_name = var.cluster_name api_servers = [format("%s.%s", var.cluster_name, var.dns_zone)] etcd_servers = aws_route53_record.etcds.*.fqdn - asset_dir = var.asset_dir networking = var.networking network_mtu = var.network_mtu pod_cidr = var.pod_cidr diff --git a/outputs.tf b/outputs.tf index d9afc7b..25cc2f8 100644 --- a/outputs.tf +++ b/outputs.tf @@ -52,3 +52,9 @@ output "worker_target_group_https" { value = module.workers.target_group_https } +# Outputs for debug + +output "assets_dist" { + value = module.bootstrap.assets_dist +} + diff --git a/variables.tf b/variables.tf index bcb2263..c29aa83 100644 --- a/variables.tf +++ b/variables.tf @@ -149,12 +149,6 @@ variable "worker_node_labels" { # unofficial, undocumented, unsupported -variable "asset_dir" { - type = string - description = "Absolute path to a directory where generated assets should be placed (contains secrets)" - default = "" -} - variable "cluster_domain_suffix" { type = string description = "Queries for domains with the suffix will be answered by CoreDNS. Default is cluster.local (e.g. foo.default.svc.cluster.local)"