Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit e63fdc5

Browse files
fix: restrict runner security group to only ingress (#3564)
Runner security group is currently open. This patch removes the default ingress rule security group to deny everything. More info on [this documentation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group#removing-all-ingress-and-egress-rules).
1 parent c747139 commit e63fdc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/runners/main.tf

+2
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ resource "aws_security_group" "runner_sg" {
197197

198198
vpc_id = var.vpc_id
199199

200+
ingress = []
201+
200202
dynamic "egress" {
201203
for_each = var.egress_rules
202204
iterator = each

0 commit comments

Comments
 (0)