From 7d255b7c94d4494e9d83b8444faab6c25c44fbd7 Mon Sep 17 00:00:00 2001 From: Steve Astels Date: Thu, 25 Jul 2024 11:12:58 -0400 Subject: [PATCH] apply rds instance changes immediately if not on prod (#1469) --- aws/rds/rds.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/rds/rds.tf b/aws/rds/rds.tf index feba803f1..b710f7044 100644 --- a/aws/rds/rds.tf +++ b/aws/rds/rds.tf @@ -28,7 +28,7 @@ resource "aws_rds_cluster_instance" "notification-canada-ca-instances" { # https://github.com/hashicorp/terraform-provider-aws/issues/3015#issuecomment-520667166 preferred_maintenance_window = "wed:04:00-wed:04:30" auto_minor_version_upgrade = false - apply_immediately = false + apply_immediately = var.env != "production" tags = { CostCenter = "notification-canada-ca-${var.env}"