Skip to content

Commit eae7230

Browse files
authored
feat: Support engine_lifecycle_support (#558)
1 parent d39c573 commit eae7230

File tree

42 files changed

+91
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+91
-74
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Users have the ability to:
210210
| Name | Version |
211211
|------|---------|
212212
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
213-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
213+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
214214

215215
## Providers
216216

@@ -276,6 +276,7 @@ No resources.
276276
| <a name="input_domain_ou"></a> [domain\_ou](#input\_domain\_ou) | (Optional, but required if domain\_fqdn is provided) The self managed Active Directory organizational unit for your DB instance to join. Conflicts with domain and domain\_iam\_role\_name. | `string` | `null` | no |
277277
| <a name="input_enabled_cloudwatch_logs_exports"></a> [enabled\_cloudwatch\_logs\_exports](#input\_enabled\_cloudwatch\_logs\_exports) | List of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. Valid values (depending on engine): alert, audit, error, general, listener, slowquery, trace, postgresql (PostgreSQL), upgrade (PostgreSQL) | `list(string)` | `[]` | no |
278278
| <a name="input_engine"></a> [engine](#input\_engine) | The database engine to use | `string` | `null` | no |
279+
| <a name="input_engine_lifecycle_support"></a> [engine\_lifecycle\_support](#input\_engine\_lifecycle\_support) | The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Valid values are `open-source-rds-extended-support`, `open-source-rds-extended-support-disabled`. Default value is `open-source-rds-extended-support`. | `string` | `null` | no |
279280
| <a name="input_engine_version"></a> [engine\_version](#input\_engine\_version) | The engine version to use | `string` | `null` | no |
280281
| <a name="input_family"></a> [family](#input\_family) | The family of the DB parameter group | `string` | `null` | no |
281282
| <a name="input_final_snapshot_identifier_prefix"></a> [final\_snapshot\_identifier\_prefix](#input\_final\_snapshot\_identifier\_prefix) | The name which is prefixed to the final snapshot on cluster destroy | `string` | `"final"` | no |

examples/blue-green-deployment/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Note that this example may create resources which cost money. Run `terraform des
2727
| Name | Version |
2828
|------|---------|
2929
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
30-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
30+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
3131

3232
## Providers
3333

3434
| Name | Version |
3535
|------|---------|
36-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
36+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
3737

3838
## Modules
3939

examples/blue-green-deployment/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/complete-mssql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
3030

3131
## Modules
3232

examples/complete-mssql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/complete-mysql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
3030

3131
## Modules
3232

examples/complete-mysql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/complete-oracle/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
3030

3131
## Modules
3232

examples/complete-oracle/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/complete-postgres/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
3030

3131
## Modules
3232

examples/complete-postgres/main.tf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ module "db" {
3030
identifier = local.name
3131

3232
# All available versions: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts
33-
engine = "postgres"
34-
engine_version = "14"
35-
family = "postgres14" # DB parameter group
36-
major_engine_version = "14" # DB option group
37-
instance_class = "db.t4g.large"
33+
engine = "postgres"
34+
engine_version = "14"
35+
engine_lifecycle_support = "open-source-rds-extended-support-disabled"
36+
family = "postgres14" # DB parameter group
37+
major_engine_version = "14" # DB option group
38+
instance_class = "db.t4g.large"
3839

3940
allocated_storage = 20
4041
max_allocated_storage = 100

examples/complete-postgres/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/cross-region-replica-postgres/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
3030

3131
## Modules
3232

examples/cross-region-replica-postgres/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/enhanced-monitoring/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Note that this example may create resources which cost money. Run `terraform des
2222
| Name | Version |
2323
|------|---------|
2424
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
25-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
25+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
2626

2727
## Providers
2828

2929
| Name | Version |
3030
|------|---------|
31-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
31+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
3232

3333
## Modules
3434

examples/enhanced-monitoring/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/groups/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
2424

2525
## Providers
2626

examples/groups/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/replica-mysql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
3030

3131
## Modules
3232

examples/replica-mysql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/replica-postgres/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Note that this example may create resources which cost money. Run `terraform des
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
3030

3131
## Modules
3232

examples/replica-postgres/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/role-association-postgres/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Further database configurations for creating extension and invoking from postgre
1010
| Name | Version |
1111
|------|---------|
1212
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
13-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
13+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
1414

1515
## Providers
1616

1717
| Name | Version |
1818
|------|---------|
19-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
19+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
2020

2121
## Modules
2222

examples/role-association-postgres/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

examples/s3-import-mysql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ Note that this example may create resources which cost money. Run `terraform des
4949
| Name | Version |
5050
|------|---------|
5151
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
52-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
52+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
5353

5454
## Providers
5555

5656
| Name | Version |
5757
|------|---------|
58-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
58+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
5959

6060
## Modules
6161

examples/s3-import-mysql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.47"
7+
version = ">= 5.59"
88
}
99
}
1010
}

main.tf

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,15 @@ module "db_instance" {
6363
identifier = var.identifier
6464
use_identifier_prefix = var.instance_use_identifier_prefix
6565

66-
engine = var.engine
67-
engine_version = var.engine_version
68-
instance_class = var.instance_class
69-
allocated_storage = var.allocated_storage
70-
storage_type = var.storage_type
71-
storage_encrypted = var.storage_encrypted
72-
kms_key_id = var.kms_key_id
73-
license_model = var.license_model
66+
engine = var.engine
67+
engine_version = var.engine_version
68+
engine_lifecycle_support = var.engine_lifecycle_support
69+
instance_class = var.instance_class
70+
allocated_storage = var.allocated_storage
71+
storage_type = var.storage_type
72+
storage_encrypted = var.storage_encrypted
73+
kms_key_id = var.kms_key_id
74+
license_model = var.license_model
7475

7576
db_name = var.db_name
7677
username = var.username

modules/db_instance/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
| Name | Version |
77
|------|---------|
88
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
9-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.47 |
9+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.59 |
1010
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 3.1 |
1111

1212
## Providers
1313

1414
| Name | Version |
1515
|------|---------|
16-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.47 |
16+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.59 |
1717
| <a name="provider_random"></a> [random](#provider\_random) | >= 3.1 |
1818

1919
## Modules
@@ -70,6 +70,7 @@ No modules.
7070
| <a name="input_domain_ou"></a> [domain\_ou](#input\_domain\_ou) | (Optional, but required if domain\_fqdn is provided) The self managed Active Directory organizational unit for your DB instance to join. Conflicts with domain and domain\_iam\_role\_name. | `string` | `null` | no |
7171
| <a name="input_enabled_cloudwatch_logs_exports"></a> [enabled\_cloudwatch\_logs\_exports](#input\_enabled\_cloudwatch\_logs\_exports) | List of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. Valid values (depending on engine): alert, audit, error, general, listener, slowquery, trace, postgresql (PostgreSQL), upgrade (PostgreSQL). | `list(string)` | `[]` | no |
7272
| <a name="input_engine"></a> [engine](#input\_engine) | The database engine to use | `string` | `null` | no |
73+
| <a name="input_engine_lifecycle_support"></a> [engine\_lifecycle\_support](#input\_engine\_lifecycle\_support) | The life cycle type for this DB instance. This setting applies only to RDS for MySQL and RDS for PostgreSQL. Valid values are `open-source-rds-extended-support`, `open-source-rds-extended-support-disabled`. Default value is `open-source-rds-extended-support`. | `string` | `null` | no |
7374
| <a name="input_engine_version"></a> [engine\_version](#input\_engine\_version) | The engine version to use | `string` | `null` | no |
7475
| <a name="input_final_snapshot_identifier_prefix"></a> [final\_snapshot\_identifier\_prefix](#input\_final\_snapshot\_identifier\_prefix) | The name which is prefixed to the final snapshot on cluster destroy | `string` | `"final"` | no |
7576
| <a name="input_iam_database_authentication_enabled"></a> [iam\_database\_authentication\_enabled](#input\_iam\_database\_authentication\_enabled) | Specifies whether or mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled | `bool` | `false` | no |

0 commit comments

Comments
 (0)