Skip to content

Commit

Permalink
Merge pull request #25 from UKHomeOffice/egress
Browse files Browse the repository at this point in the history
Remove unneeded egress rule
  • Loading branch information
tasharnvb authored Oct 1, 2021
2 parents 6ed799e + 1f494a7 commit 226a62b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,6 @@ resource "aws_security_group" "sg_msk" {
cidr_blocks = var.cidr_blocks
}

egress {
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
}

tags = merge(
var.tags,
{
Expand Down Expand Up @@ -395,4 +388,4 @@ module "self_serve_access_keys" {
source = "git::https://github.com/UKHomeOffice/acp-tf-self-serve-access-keys?ref=v0.1.0"

user_names = concat(aws_iam_user.msk_acmpca_iam_user.*.name, aws_iam_user.msk_iam_user.*.name)
}
}

0 comments on commit 226a62b

Please sign in to comment.