-
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.
Merge pull request #34 from ministryofjustice/fix-rds-family
Fix rds family
- Loading branch information
Showing
4 changed files
with
14 additions
and
6 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 |
---|---|---|
|
@@ -33,6 +33,7 @@ module "example_team_rds" { | |
is-production = "false" | ||
environment-name = "development" | ||
infrastructure-support = "[email protected]" | ||
rds_family = "postgres10" | ||
providers = { | ||
# This can be either "aws.london" or "aws.ireland: | ||
|
@@ -62,6 +63,8 @@ For more details, be sure to read [this example](example/rds.tf) | |
| force_ssl | Enforce SSL connections | boolean | `false` | no | | ||
| snapshot_identifier | Specifies whether or not to create this database from a snapshot. This correlates to the snapshot ID you'd find in the RDS console. | string | | no | | ||
| providers | provider (and region) creating the resources | arrays of string | default provider | no | | ||
| rds_family | rds configuration version | string | `postgres10` | no | | ||
|
||
|
||
### Tags | ||
|
||
|
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,17 +15,23 @@ variable "cluster_state_bucket" {} | |
* | ||
*/ | ||
module "example_team_rds" { | ||
source = "github.com/ministryofjustice/cloud-platform-terraform-rds-instance?ref=4.3" | ||
source = "github.com/ministryofjustice/cloud-platform-terraform-rds-instance?ref=4.5" | ||
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" | ||
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" | ||
|
||
# use "allow_major_version_upgrade" when upgrading the major version of an engine | ||
allow_major_version_upgrade = "true" | ||
|
||
|
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
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