mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 07:01:56 +03:00
protocol tcp instead of -1
This commit is contained in:
@@ -12,7 +12,7 @@ resource "aws_security_group" "allow-ssh" {
|
||||
ingress {
|
||||
from_port = 22
|
||||
to_port = 22
|
||||
protocol = "-1"
|
||||
protocol = "tcp"
|
||||
cidr_blocks = ["0.0.0.0/0"]
|
||||
}
|
||||
tags {
|
||||
|
||||
Reference in New Issue
Block a user