Skip to content

Commit

Permalink
Updated the example with force_ssl changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vijay-veeranki committed Sep 3, 2019
1 parent 08a6376 commit 136978f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions example/rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,26 @@ 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"
business-unit = "example-bu"
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 = "[email protected]"
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"

Expand Down

0 comments on commit 136978f

Please sign in to comment.