awscc_rds_db_cluster (Resource)

The AWS::RDS::DBCluster resource creates an Amazon Aurora DB cluster.

Example Usage

Managed Master Passwords via Secrets Manager, specify Availability Zones example

You can specify the manage_master_user_password attribute to enable managing the master password with Secrets Manager. You can also update an existing cluster to use Secrets Manager by specify the manage_master_user_password attribute and removing the password attribute (removal is required).

resource "awscc_rds_db_cluster" "example_db_cluster" {
  availability_zones          = ["us-east-1b", "us-east-1c"]
  engine                      = "aurora-mysql"
  db_cluster_identifier       = "example-dbcluster"
  manage_master_user_password = true
  master_username             = "foo"
}

Schema

Optional

If you aren't configuring a global database cluster, don't specify this property.

Read-Only

Nested Schema for associated_roles

Required:

Optional:

Nested Schema for master_user_secret

Optional:

Read-Only:

Nested Schema for read_endpoint

Read-Only:

Nested Schema for scaling_configuration

Optional:

For more information, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide.

Nested Schema for serverless_v2_scaling_configuration

Optional:

Nested Schema for tags

Required:

Optional:

Nested Schema for endpoint

Read-Only:

Import

Import is supported using the following syntax:

$ terraform import awscc_rds_db_cluster.example <resource ID>