Skip to content

Commit

Permalink
Merge pull request coreos#123 from coreos/fixes
Browse files Browse the repository at this point in the history
Assortment of fixes
  • Loading branch information
Sergiusz Urbaniak authored Mar 24, 2017
2 parents 6170708 + 0932fcf commit 35a1efa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/aws/etcd/ignition.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resource "ignition_file" "node_hostname" {
filesystem = "root"

content {
content = "{var.cluster_name}-etcd-${count.index}.${var.base_domain}"
content = "${var.cluster_name}-etcd-${count.index}.${var.base_domain}"
}
}

Expand All @@ -37,7 +37,7 @@ resource "ignition_systemd_unit" "locksmithd" {
}

resource "ignition_systemd_unit" "etcd3" {
count = "${length(var.external_endpoints) == 0 ? var.instance_count : 0}"
count = "${length(var.external_endpoints) == 0 ? var.instance_count : 0}"
name = "etcd-member.service"
enable = true

Expand Down
4 changes: 2 additions & 2 deletions modules/aws/master-asg/elb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "aws_elb" "api-internal" {
healthy_threshold = 2
unhealthy_threshold = 2
timeout = 3
target = "HTTP:10255/healthz"
target = "TCP:443"
interval = 5
}

Expand Down Expand Up @@ -68,7 +68,7 @@ resource "aws_elb" "api-external" {
healthy_threshold = 2
unhealthy_threshold = 2
timeout = 3
target = "TCP:22"
target = "TCP:443"
interval = 5
}

Expand Down
2 changes: 1 addition & 1 deletion terraform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TERRAFORM_GO_OS=linux darwin windows
TERRAFORM_GOARCH=386 amd64

PATH := $(TOP_DIR)/bin/terraform:$(PATH)
SHELL := env PATH=$(PATH) /bin/bash
SHELL := env PATH="${PATH}" /bin/bash
$(info Using TerraForm binary [$(shell which terraform 2> /dev/null)])

ifeq ($(OS), Windows_NT)
Expand Down

0 comments on commit 35a1efa

Please sign in to comment.