Skip to content

Commit 5f5df57

Browse files
cageyvantonbabenko
andauthored
fix: Added create_before_destroy to aws_customer_gateway (#1036)
Co-authored-by: Anton Babenko <[email protected]>
1 parent 7666869 commit 5f5df57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,10 @@ resource "aws_customer_gateway" "this" {
11231123
var.tags,
11241124
var.customer_gateway_tags,
11251125
)
1126+
1127+
lifecycle {
1128+
create_before_destroy = true
1129+
}
11261130
}
11271131

11281132
################################################################################

0 commit comments

Comments
 (0)