Terraform resource: aws rds cluster
(Redirected from Aws rds cluster)
Jump to navigation
Jump to search
Arguments[edit]
aws_rds_clustermin_capacity: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster#min_capacitymax_capacity: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster#max_capacity
engine[1]:aurora, aurora-mysql, aurora-postgresqlengine_mode:global, multimaster, parallelquery, provisioned, serverless. Defaults to: provisioned https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster#engine_modecluster_identifier: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster#cluster_identifierscalinghttps://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster#scaling_configuration- backup_retention_period
deletion_protectionserverlessv2_scaling_configurationstorage_encryptedkms_key_idmaster_passworddatabase_nameengine_versionvpc_security_group_ids
Official example[edit]
resource "aws_rds_cluster" "postgresql" {
cluster_identifier = "aurora-cluster-demo"
engine = "aurora-postgresql"
availability_zones = ["us-west-2a", "us-west-2b", "us-west-2c"]
database_name = "mydb"
master_username = "foo"
master_password = "must_be_eight_characters"
backup_retention_period = 5
preferred_backup_window = "07:00-09:00"
}
lifecycle { ignore_changes = [master_username, master_password] }
Related terms[edit]
See also[edit]
Terraform resource: aws_rds_cluster- Terraform RDS, Terraform module: rds,
aws_db_instance, aws_rds_cluster,aws_rds_cluster_instance, aws_db_parameter_group, aws_db_subnet_group,aws_rds_global_cluster, aws_rds_cluster_parameter_group, aws_db_snapshot, aws_db_proxy
Advertising: