From 136978f1a7ac944ec2540050c077ef17933a9342 Mon Sep 17 00:00:00 2001 From: vijay-veeranki-moj Date: Tue, 3 Sep 2019 16:45:51 +0100 Subject: [PATCH] Updated the example with force_ssl changes --- example/rds.tf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/example/rds.tf b/example/rds.tf index f8713c3..22c4de1 100644 --- a/example/rds.tf +++ b/example/rds.tf @@ -15,7 +15,7 @@ variable "cluster_state_bucket" {} * */ module "example_team_rds" { - source = "github.com/ministryofjustice/cloud-platform-terraform-rds-instance?ref=4.5" + source = "github.com/ministryofjustice/cloud-platform-terraform-rds-instance?ref=4.6" cluster_name = "${var.cluster_name}" cluster_state_bucket = "${var.cluster_state_bucket}" team_name = "example-repo" @@ -23,15 +23,18 @@ module "example_team_rds" { application = "exampleapp" is-production = "false" # change the postgres version as you see fit. - db_engine_version = "10" + db_engine_version = "10" environment-name = "development" infrastructure-support = "example-team@digtal.justice.gov.uk" - force_ssl = "true" # rds_family should be one of: postgres9.4, postgres9.5, postgres9.6, postgres10, postgres11 # Pick the one that defines the postgres version the best rds_family = "postgres10" + # Some engines can't apply some parameters without a reboot(ex postgres9.x cant apply force_ssl immediate). + # You will need to specify "pending-reboot" here, as default is set to "immediate". + apply_method = "pending-reboot" + # use "allow_major_version_upgrade" when upgrading the major version of an engine allow_major_version_upgrade = "true"