Skip to content

Instantly share code, notes, and snippets.

@welsayedaly
Created November 10, 2021 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save welsayedaly/f4bfbb1d0a9f5a0b8f2f17172175d42c to your computer and use it in GitHub Desktop.
Save welsayedaly/f4bfbb1d0a9f5a0b8f2f17172175d42c to your computer and use it in GitHub Desktop.
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