Skip to content

Commit 9133f1e

Browse files
feat: Set create_before_destroy on subnet group (#29)
Co-authored-by: Bryant Biggs <[email protected]>
1 parent 5ebac98 commit 9133f1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ resource "aws_elasticache_subnet_group" "this" {
292292
subnet_ids = var.subnet_ids
293293

294294
tags = local.tags
295+
296+
lifecycle {
297+
create_before_destroy = true
298+
}
295299
}
296300

297301
################################################################################

0 commit comments

Comments
 (0)