Created
April 4, 2020 18:57
-
-
Save blogumi/889000d99d8decfecc1f8bd8981922c1 to your computer and use it in GitHub Desktop.
Now that we have a way to know where traffic from the worker nodes is coming from, we can allow the worker nodes networking access to the EKS master cluster.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_security_group_rule" "demo-cluster-ingress-node-https" { | |
description = "Allow pods to communicate with the cluster API Server" | |
from_port = 443 | |
protocol = "tcp" | |
security_group_id = aws_security_group.demo-cluster.id | |
source_security_group_id = aws_security_group.demo-node.id | |
to_port = 443 | |
type = "ingress" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment