Open ssh port for all
This commit is contained in:
parent
31b71adb63
commit
c35e81d6e3
3 changed files with 18 additions and 18 deletions
2
main.tf
2
main.tf
|
|
@ -67,7 +67,7 @@ resource "aws_security_group_rule" "ssh" {
|
||||||
to_port = 22
|
to_port = 22
|
||||||
from_port = 22
|
from_port = 22
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
cidr_blocks = [ "${chomp(data.http.myip.body)}/32" ]
|
cidr_blocks = ["0.0.0.0/0"]
|
||||||
security_group_id = aws_security_group.ssh.id
|
security_group_id = aws_security_group.ssh.id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue