diff --git a/CHANGES.md b/CHANGES.md index d170598b5..c053a79f3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,10 @@ Notable changes between versions. ## Latest +#### AWS + +* Remove firewall rule allowing ICMP packets to nodes + #### Bare-Metal * Remove `controller_networkds` and `worker_networkds` variables. Use Container Linux Config snippets [#277](https://github.com/poseidon/typhoon/pull/277) diff --git a/aws/container-linux/kubernetes/security.tf b/aws/container-linux/kubernetes/security.tf index 2a06913c8..95ba1b0cc 100644 --- a/aws/container-linux/kubernetes/security.tf +++ b/aws/container-linux/kubernetes/security.tf @@ -11,16 +11,6 @@ resource "aws_security_group" "controller" { tags = "${map("Name", "${var.cluster_name}-controller")}" } -resource "aws_security_group_rule" "controller-icmp" { - security_group_id = "${aws_security_group.controller.id}" - - type = "ingress" - protocol = "icmp" - from_port = 0 - to_port = 0 - cidr_blocks = ["0.0.0.0/0"] -} - resource "aws_security_group_rule" "controller-ssh" { security_group_id = "${aws_security_group.controller.id}" @@ -217,16 +207,6 @@ resource "aws_security_group" "worker" { tags = "${map("Name", "${var.cluster_name}-worker")}" } -resource "aws_security_group_rule" "worker-icmp" { - security_group_id = "${aws_security_group.worker.id}" - - type = "ingress" - protocol = "icmp" - from_port = 0 - to_port = 0 - cidr_blocks = ["0.0.0.0/0"] -} - resource "aws_security_group_rule" "worker-ssh" { security_group_id = "${aws_security_group.worker.id}" diff --git a/aws/fedora-atomic/kubernetes/security.tf b/aws/fedora-atomic/kubernetes/security.tf index 2a06913c8..95ba1b0cc 100644 --- a/aws/fedora-atomic/kubernetes/security.tf +++ b/aws/fedora-atomic/kubernetes/security.tf @@ -11,16 +11,6 @@ resource "aws_security_group" "controller" { tags = "${map("Name", "${var.cluster_name}-controller")}" } -resource "aws_security_group_rule" "controller-icmp" { - security_group_id = "${aws_security_group.controller.id}" - - type = "ingress" - protocol = "icmp" - from_port = 0 - to_port = 0 - cidr_blocks = ["0.0.0.0/0"] -} - resource "aws_security_group_rule" "controller-ssh" { security_group_id = "${aws_security_group.controller.id}" @@ -217,16 +207,6 @@ resource "aws_security_group" "worker" { tags = "${map("Name", "${var.cluster_name}-worker")}" } -resource "aws_security_group_rule" "worker-icmp" { - security_group_id = "${aws_security_group.worker.id}" - - type = "ingress" - protocol = "icmp" - from_port = 0 - to_port = 0 - cidr_blocks = ["0.0.0.0/0"] -} - resource "aws_security_group_rule" "worker-ssh" { security_group_id = "${aws_security_group.worker.id}"