diff --git a/main.tf b/main.tf index bdef9a3..f9c343f 100644 --- a/main.tf +++ b/main.tf @@ -26,6 +26,10 @@ resource "aws_customer_gateway" "default" { ip_address = var.customer_gateway_ip_address type = "ipsec.1" tags = module.this.tags + + lifecycle { + create_before_destroy = true + } } module "logs" {