Skip to content

Commit

Permalink
set security group lifecycle (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgiuliani-mwb authored Dec 14, 2021
1 parent 3c8645e commit 195e519
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ resource "aws_security_group" "default" {
name = module.this.id
description = "Allow inbound traffic from Security Groups and CIDRs. Allow all outbound traffic"
tags = module.this.tags

lifecycle {
create_before_destroy = true
}
}

resource "aws_security_group_rule" "ingress_security_groups" {
Expand Down

0 comments on commit 195e519

Please sign in to comment.