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

Commit

Permalink
Merge pull request #50 from garthy/zone_consistency_patch
Browse files Browse the repository at this point in the history
Make zone consistant accross k8s provisioners
  • Loading branch information
jlamillan committed Nov 9, 2017
2 parents f83cdeb + de049d8 commit f47ed4b
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit f47ed4b

Please sign in to comment.