Commit 0a83a4f7 authored by Cameron McFarland's avatar Cameron McFarland

Added an egress rule to the security group and fixed a subnet name problem.

parent 7129486a
......@@ -135,7 +135,7 @@ resource "aws_subnet" "snowplow_subnet_4" {
availability_zone = "us-east-1c"
tags = {
Name = "SnowPlow Subnet 3"
Name = "SnowPlow Subnet 4"
environment = "SnowPlow"
}
}
......@@ -197,6 +197,20 @@ resource "aws_security_group" "snowplow_security_group" {
name = "SnowPlow"
vpc_id = "${aws_vpc.snowplow_vpc.id}"
egress {
from_port = "0"
to_port = "0"
protocol = "-1"
cidr_blocks = [
"0.0.0.0/0",
]
ipv6_cidr_blocks = [
"::/0",
]
}
ingress {
from_port = 8000
to_port = 8000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment