mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-04-23 19:32:15 +00:00
16 lines
264 B
HCL
16 lines
264 B
HCL
###########################
|
|
#SECURITY GROUP
|
|
###########################
|
|
|
|
resource "aws_security_group" "allow_ssh" {
|
|
name = "terraform-example-instance"
|
|
|
|
ingress {
|
|
from_port = 22
|
|
to_port = 22
|
|
protocol = "tcp"
|
|
cidr_blocks = ["0.0.0.0/0"]
|
|
}
|
|
}
|
|
|