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

Commit

Permalink
Make zone consistant accross k8s provisioners
Browse files Browse the repository at this point in the history
  • Loading branch information
garthy committed Nov 8, 2017
1 parent f83cdeb commit de049d8
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 de049d8

Please sign in to comment.