Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

Make zone consistant accross k8s provisioners #50

Merged
merged 1 commit into from
Nov 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions instances/k8sworker/datasources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ data "template_file" "kubelet-service" {
master_lb = "${var.master_lb}"
k8s_ver = "${var.k8s_ver}"
domain_name = "${var.domain_name}"
region = "${lower(var.region)}"
zone = "${lower(replace(var.availability_domain,":","-"))}"
region = "${var.region}"
zone = "${element(split(":",var.availability_domain),1)}"
}
}

Expand Down