17 lines
376 B
HCL
17 lines
376 B
HCL
resource "aws_security_group" "github_runner_sg" {
|
|
name = "github-runner-sg"
|
|
description = "Security group for GitHub self-hosted runners"
|
|
ingress {
|
|
from_port = 22
|
|
to_port = 22
|
|
protocol = "tcp"
|
|
cidr_blocks = ["0.0.0.0/0"]
|
|
}
|
|
egress {
|
|
from_port = 0
|
|
to_port = 0
|
|
protocol = "-1"
|
|
cidr_blocks = ["0.0.0.0/0"]
|
|
}
|
|
}
|