Skip to content

Commit

Permalink
Update README for minor upg (#88)
Browse files Browse the repository at this point in the history
* Update README.md
  • Loading branch information
razvan-moj authored Mar 3, 2021
1 parent 388e48d commit 1ad91d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ See [this example](example/rds.tf)
| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| allow_major_version_upgrade | Indicates that major version upgrades are allowed | string | false | no |
| allow_minor_version_upgrade | Indicates that minor upgrades (eg 12.x for Postgres) are allowed | bool | true | no |
| cluster_name | The name of the cluster (eg.: cloud-platform-live-0) | string | | yes |
| cluster_state_bucket | The name of the S3 bucket holding the terraform state for the cluster | string | | yes |
| db_allocated_storage | The allocated storage in gibibytes | string | `10` | no |
Expand Down
8 changes: 4 additions & 4 deletions example/rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variable "cluster_state_bucket" {
# Make sure you restart your pods which use this RDS secret to avoid any down time.

module "example_team_rds" {
source = "github.com/ministryofjustice/cloud-platform-terraform-rds-instance?ref=5.12"
source = "github.com/ministryofjustice/cloud-platform-terraform-rds-instance?ref=5.13.1"
cluster_name = var.cluster_name
cluster_state_bucket = var.cluster_state_bucket
team_name = "example-repo"
Expand All @@ -38,13 +38,13 @@ module "example_team_rds" {
performance_insights_enabled = true

# change the postgres version as you see fit.
db_engine_version = "10"
db_engine_version = "12"
environment-name = "development"
infrastructure-support = "[email protected]"

# rds_family should be one of: postgres9.4, postgres9.5, postgres9.6, postgres10, postgres11
# rds_family should be one of: postgres9.4, postgres9.5, postgres9.6, postgres10, postgres11, postgres12
# Pick the one that defines the postgres version the best
rds_family = "postgres10"
rds_family = "postgres12"

# 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".
Expand Down

0 comments on commit 1ad91d4

Please sign in to comment.