Skip to content

Commit

Permalink
feat(network): remove ingress and egress rules default security group
Browse files Browse the repository at this point in the history
  • Loading branch information
Ric Featherstone authored and 06kellyjac committed Dec 21, 2023
1 parent 2ba0555 commit cbaaa6b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions terraform/modules/network/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ resource "aws_vpc" "network" {
)
}

resource "aws_default_security_group" "default" {
vpc_id = aws_vpc.network.id

tags = merge(
var.tags,
{
"Name" = title(var.name)
}
)
}

resource "aws_internet_gateway" "network" {
vpc_id = aws_vpc.network.id

Expand Down

0 comments on commit cbaaa6b

Please sign in to comment.