Open signorrayan opened 1 year ago
'resource "aws_security_group" "allow_tls" { name = "Terrafrom-firewall" description = "Managed from Terraform" }
resource "aws_vpc_security_group_ingress_rule" "allow_tls_ipv4" { security_group_id = aws_security_group.allow_tls.id cidr_ipv4 = "0.0.0.0/0" from_port = 22 ip_protocol = "tcp" to_port = 22 }
resource "aws_vpc_security_group_egress_rule" "allow_all_traffic_ipv4" { security_group_id = aws_security_group.allow_tls.id cidr_ipv4 = "0.0.0.0/0" ip_protocol = "-1" # semantically equivalent to all ports } '
Update the main branch. (v012 > main) (The
main
branch haven't the latest changes that applied inv012
branch.)