If you have any questions regarding this upgrade process, please consult the examples
directory.
If you find a bug, please open an issue with supporting configuration to reproduce.
- Minimum supported Terraform version is now 1.0
- Minimum supported AWS provider version is now 5.0
- The manner in which authentication is configured has changed - previously auth settings were provided under
secrets
in conjunction withauth_scheme
andiam_auth
variables. Now, auth settings are provided under theauth
variable for multiple auth entries.
-
Removed variables:
auth_scheme
is now set under theauth
variable for a given auth entryiam_auth
is now set under theauth
variable for a given auth entry
-
Renamed variables:
create_proxy
->create
secrets
->auth
db_proxy_endpoints
->endpoints
-
Added variables:
kms_key_arns
- list of KMS key ARNs to use allowing permission to decrypt SecretsManager secrets
-
Removed outputs:
- None
-
Renamed outputs:
- None
-
Added outputs:
- None
module "rds_proxy" {
source = "terraform-aws-modules/rds-proxy/aws"
- version = "~> 2.0"
+ version = "~> 3.0"
# Only the affected attributes are shown
- create_proxy = true
+ create = true
- db_proxy_endpoints = {
- ...
- }
+ endpoints = {
+ ...
+ }
- secrets = {
- "superuser" = {
- description = "Aurora PostgreSQL superuser password"
- arn = "arn:aws:secretsmanager:eu-west-1:123456789012:secret:superuser-6gsjLD"
- kms_key_id = "6ca29066-552a-46c5-a7d7-7bf9a15fc255"
- }
- }
+ auth = {
+ "superuser" = {
+ description = "Aurora PostgreSQL superuser password"
+ secret_arn = "arn:aws:secretsmanager:us-east-1:123456789012:secret:superuser-6gsjLD"
+ }
+ }
+ kms_key_arns = ["arn:aws:kms:eu-west-1:123456789012:key/6ca29066-552a-46c5-a7d7-7bf9a15fc255"]
}
- None