From ddc3432207cb8110bf57c4a2f5fef084eea9dbad Mon Sep 17 00:00:00 2001 From: Nick Ross Date: Tue, 13 Feb 2024 14:14:52 +0000 Subject: [PATCH] feat: make rds datasets db parameter group configurable (#3025) --- infra/main.tf | 1 + infra/rds_datasets.tf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/main.tf b/infra/main.tf index 094b0b7bd6..3e442a13a0 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -136,6 +136,7 @@ variable superset_dw_user_username {} variable superset_dw_user_password {} variable datasets_rds_cluster_database_engine {} +variable datasets_rds_cluster_instance_parameter_group {} variable datasets_rds_cluster_backup_retention_period {} variable datasets_rds_cluster_database_name {} variable datasets_rds_cluster_master_username {} diff --git a/infra/rds_datasets.tf b/infra/rds_datasets.tf index 78fa8332ef..ebfb1aa5d6 100644 --- a/infra/rds_datasets.tf +++ b/infra/rds_datasets.tf @@ -27,7 +27,7 @@ resource "aws_rds_cluster_instance" "datasets" { instance_class = "${var.datasets_rds_cluster_instance_class}" performance_insights_enabled = "${var.datasets_rds_cluster_instance_performance_insights_enabled}" promotion_tier = 1 - db_parameter_group_name = "aurora-postgresql-14-pgaudit-instance-parameter-group" + db_parameter_group_name = var.datasets_rds_cluster_instance_parameter_group lifecycle { ignore_changes = ["engine_version"]