Skip to content

Commit 3d750bc

Browse files
committed
Add lifecycle ignore on az's
1 parent 2989a8d commit 3d750bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ resource "aws_rds_cluster" "default" {
241241
storage_encrypted = "${var.storage_encrypted}"
242242
apply_immediately = "${var.apply_immediately}"
243243
db_cluster_parameter_group_name = "${var.db_cluster_parameter_group_name}"
244+
245+
lifecycle {
246+
ignore_changes = [
247+
"availability_zones",
248+
]
249+
}
244250
}
245251

246252
// Geneate an ID when an environment is initialised

0 commit comments

Comments
 (0)