Skip to content

Commit f52001e

Browse files
committed
Add comment
Signed-off-by: Yevgen Karlashov <methate@gmail.com>
1 parent 6339c38 commit f52001e

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

security_groups.tf

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,17 @@ resource "aws_security_group" "runner" {
3737
)
3838
}
3939

40-
resource "aws_vpc_security_group_egress_rule" "runner_manager_to_docker_autoscaler_egress" {
41-
# count = var.runner_worker.type == "docker-autoscaler" ? 1 : 0
42-
43-
security_group_id = aws_security_group.runner.id
44-
from_port = 0
45-
to_port = 0
46-
ip_protocol = "-1"
47-
description = "Allow ALL Egress traffic between Runner Manager and Docker-autoscaler workers security group"
48-
referenced_security_group_id = aws_security_group.docker_autoscaler[0].id
49-
}
40+
# Uncomment the following block after migrating the aws_security_group.runner SG rules into aws_vpc_security_group_*_rule resources
41+
# resource "aws_vpc_security_group_egress_rule" "runner_manager_to_docker_autoscaler_egress" {
42+
# count = var.runner_worker.type == "docker-autoscaler" ? 1 : 0
43+
44+
# security_group_id = aws_security_group.runner.id
45+
# from_port = 0
46+
# to_port = 0
47+
# ip_protocol = "-1"
48+
# description = "Allow ALL Egress traffic between Runner Manager and Docker-autoscaler workers security group"
49+
# referenced_security_group_id = aws_security_group.docker_autoscaler[0].id
50+
# }
5051

5152
########################################
5253
## Security group IDs to runner agent ##

0 commit comments

Comments
 (0)