Created
November 10, 2021 10:18
-
-
Save welsayedaly/f4bfbb1d0a9f5a0b8f2f17172175d42c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_security_group" "main" { | |
egress = [ | |
{ | |
cidr_blocks = ["0.0.0.0/0", ] | |
description = "" | |
from_port = 0 | |
ipv6_cidr_blocks = [] | |
prefix_list_ids = [] | |
protocol = "-1" | |
security_groups = [] | |
self = false | |
to_port = 0 | |
} | |
] | |
ingress = [ | |
{ | |
cidr_blocks = ["0.0.0.0/0", ] | |
description = "" | |
from_port = 22 | |
ipv6_cidr_blocks = [] | |
prefix_list_ids = [] | |
protocol = "tcp" | |
security_groups = [] | |
self = false | |
to_port = 22 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment