Skip to content

Commit 3701861

Browse files
Merge pull request #35679 from ArcoKim/d-aws_rds_cluster-fix
[Docs] Added help migrating from RDS Serverless v1 to Serverless v2
2 parents 18a2035 + ed517db commit 3701861

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

website/docs/r/rds_cluster.html.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ resource "aws_rds_cluster" "example" {
104104

105105
-> More information about RDS Serverless v2 Clusters can be found in the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html).
106106

107+
~> **Note:** Unlike Serverless v1, in Serverless v2 the `storage_encrypted` value is set to `false` by default.
108+
This is because Serverless v1 uses the `serverless` `engine_mode`, but Serverless v2 uses the `provisioned` `engine_mode`.
109+
107110
To create a Serverless v2 RDS cluster, you must additionally specify the `engine_mode` and `serverlessv2_scaling_configuration` attributes. An `aws_rds_cluster_instance` resource must also be added to the cluster with the `instance_class` attribute specified.
108111

109112
```terraform
@@ -115,6 +118,7 @@ resource "aws_rds_cluster" "example" {
115118
database_name = "test"
116119
master_username = "test"
117120
master_password = "must_be_eight_characters"
121+
storage_encrypted = true
118122
119123
serverlessv2_scaling_configuration {
120124
max_capacity = 1.0

0 commit comments

Comments
 (0)