diff --git a/aws/container-linux/kubernetes/workers.tf b/aws/container-linux/kubernetes/workers.tf index e0619c48..148f864d 100644 --- a/aws/container-linux/kubernetes/workers.tf +++ b/aws/container-linux/kubernetes/workers.tf @@ -146,11 +146,11 @@ resource "aws_security_group_rule" "worker-flannel-self" { resource "aws_security_group_rule" "worker-node-exporter" { security_group_id = "${aws_security_group.worker.id}" - type = "ingress" - protocol = "tcp" - from_port = 9100 - to_port = 9100 - self = true + type = "ingress" + protocol = "tcp" + from_port = 9100 + to_port = 9100 + self = true } resource "aws_security_group_rule" "worker-kubelet" { diff --git a/digital-ocean/container-linux/kubernetes/variables.tf b/digital-ocean/container-linux/kubernetes/variables.tf index d0418156..41c69d62 100644 --- a/digital-ocean/container-linux/kubernetes/variables.tf +++ b/digital-ocean/container-linux/kubernetes/variables.tf @@ -82,4 +82,3 @@ variable "cluster_domain_suffix" { type = "string" default = "cluster.local" } - diff --git a/google-cloud/container-linux/kubernetes/controllers/controllers.tf b/google-cloud/container-linux/kubernetes/controllers/controllers.tf index 024c2a19..8211affb 100644 --- a/google-cloud/container-linux/kubernetes/controllers/controllers.tf +++ b/google-cloud/container-linux/kubernetes/controllers/controllers.tf @@ -48,7 +48,7 @@ resource "google_compute_instance" "controllers" { } can_ip_forward = true - tags = ["${var.cluster_name}-controller"] + tags = ["${var.cluster_name}-controller"] } # Controller Container Linux Config diff --git a/google-cloud/container-linux/kubernetes/network.tf b/google-cloud/container-linux/kubernetes/network.tf index 7060a947..228b2b07 100644 --- a/google-cloud/container-linux/kubernetes/network.tf +++ b/google-cloud/container-linux/kubernetes/network.tf @@ -14,7 +14,7 @@ resource "google_compute_firewall" "allow-ssh" { } source_ranges = ["0.0.0.0/0"] - target_tags = ["${var.cluster_name}-controller", "${var.cluster_name}-worker"] + target_tags = ["${var.cluster_name}-controller", "${var.cluster_name}-worker"] } resource "google_compute_firewall" "allow-apiserver" { @@ -27,10 +27,9 @@ resource "google_compute_firewall" "allow-apiserver" { } source_ranges = ["0.0.0.0/0"] - target_tags = ["${var.cluster_name}-controller"] + target_tags = ["${var.cluster_name}-controller"] } - resource "google_compute_firewall" "allow-ingress" { name = "${var.cluster_name}-allow-ingress" network = "${google_compute_network.network.name}" @@ -41,7 +40,7 @@ resource "google_compute_firewall" "allow-ingress" { } source_ranges = ["0.0.0.0/0"] - target_tags = ["${var.cluster_name}-worker"] + target_tags = ["${var.cluster_name}-worker"] } resource "google_compute_firewall" "internal-etcd" {