diff --git a/main.tf b/main.tf index ce55c5d..dc24c3e 100644 --- a/main.tf +++ b/main.tf @@ -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" {