Releases: ministryofjustice/cloud-platform-terraform-rds-instance
4.7
4.6
In this release SSL is set default to "True"
4.5
This release introduces the rds_family
variable.
RDS families define what configuration the Database is going to use. RDS families and postgresql version must be compatible.
For any Postgresql version, there is a matching RDS family :
- postgres9.4
- postgres9.5
- postgres9.6
- postgres10
- postgres11
This is how the module is now invoked:
module "example_team_rds" {
source = "github.com/ministryofjustice/cloud-platform-terraform-rds-instance"
// The first two inputs are provided by the pipeline for cloud-platform. See the example for more detail.
cluster_name = "cloud-platform-live-0"
cluster_state_bucket = "live-0-state-bucket"
db_allocated_storage = "20"
db_instance_class = "db.t2.small"
db_iops = "1000"
team_name = "example-repo"
business-unit = "example-bu"
application = "exampleapp"
is-production = "false"
environment-name = "development"
infrastructure-support = "[email protected]"
rds_family = "postgres10"
providers = {
# This can be either "aws.london" or "aws.ireland:
aws = "aws.london"
}
}
Be sure to check this example : rds.tf
4.4
4.3
This version Includes AllowMajorVersionUpgrade option, a value that indicates whether major version upgrades are allowed.
use "allow_major_version_upgrade" when upgrading the major version of an engine
allow_major_version_upgrade = "true"
4.2
Providers are now defined outside of the module, resolving issue with resource deletion.
This version deprecates the use of the aws_region
, in profit of the providers
input.
providers
expect an existing provider. The example contains two providers, which can then be passed down to the module, as follow:
provider "aws" {
alias = "london"
region = "eu-west-2"
}
provider "aws" {
alias = "ireland"
region = "eu-west-1"
}
module "example_team_rds" {
...
providers = {
# Can be either "aws.london" or "aws.london"
aws = "aws.london"
}
}```
4.1
Apply changes like storage size immediately