Skip to content

Commit

Permalink
Merge pull request #43 from rogiermccv/force_empty_sg
Browse files Browse the repository at this point in the history
add empty egress and ingress inline definition
  • Loading branch information
svanharmelen authored Jun 21, 2022
2 parents 73b5d8c + 8eafc1c commit f6958ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ resource "aws_security_group" "default" {
count = var.subnet_ids != null ? 1 : 0
name = var.name
description = "Security group for lambda ${var.name}"
egress = []
ingress = []
vpc_id = data.aws_subnet.selected[0].vpc_id
tags = var.tags
}
Expand Down

0 comments on commit f6958ba

Please sign in to comment.