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