Skip to content

Commit 53fb2d6

Browse files
authored
Merge pull request #104 from AndiDog/typo
Fix typo 'intial_cluster'
2 parents 7d5302d + 547af2a commit 53fb2d6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

service/etcd/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ locals {
7373
for n in range(var.node_count) :
7474
templatefile("${path.module}/templates/etcd.service", {
7575
hostname = element(local.etcd_hostnames, n)
76-
intial_cluster = "${join(",", formatlist("%s=http://%s:2380", local.etcd_hostnames, local.etcd_vpn_ips))}"
76+
initial_cluster = "${join(",", formatlist("%s=http://%s:2380", local.etcd_hostnames, local.etcd_vpn_ips))}"
7777
listen_client_urls = "http://${element(local.etcd_vpn_ips, n)}:2379"
7878
advertise_client_urls = "http://${element(local.etcd_vpn_ips, n)}:2379"
7979
listen_peer_urls = "http://${element(local.etcd_vpn_ips, n)}:2380"

service/etcd/templates/etcd.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ExecStart=/opt/etcd/etcd --name ${hostname} \
99
--listen-client-urls "${listen_client_urls},http://localhost:2379" \
1010
--advertise-client-urls "${advertise_client_urls}" \
1111
--listen-peer-urls "${listen_peer_urls}" \
12-
--initial-cluster "${intial_cluster}" \
12+
--initial-cluster "${initial_cluster}" \
1313
--initial-advertise-peer-urls "${listen_peer_urls}" \
1414
--heartbeat-interval 200 \
1515
--election-timeout 5000

0 commit comments

Comments
 (0)