-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the example with force_ssl changes
- Loading branch information
1 parent
08a6376
commit 136978f
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
||
|