From f60714f7ecdd62712fd171a8735d4c2c816a28d5 Mon Sep 17 00:00:00 2001 From: "Michael B. Klein" Date: Thu, 15 Aug 2024 19:41:04 +0000 Subject: [PATCH] Ignore postgres maintenance window change --- data_services/postgres.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data_services/postgres.tf b/data_services/postgres.tf index 826b14d..dbccb30 100644 --- a/data_services/postgres.tf +++ b/data_services/postgres.tf @@ -92,6 +92,10 @@ resource "aws_db_instance" "db" { db_subnet_group_name = aws_db_subnet_group.db_subnet_group.name vpc_security_group_ids = [aws_security_group.db.id] tags = local.tags + + lifecycle { + ignore_changes = [ maintenance_window ] + } } module "maintenance_lambda" {