riju/tf/ec2.tf

20 lines
368 B
HCL

resource "aws_security_group" "deploy" {
name = "riju-deploy"
description = "Security group for Riju CI"
ingress {
description = "SSH"
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"]
}
}