Terraform resource: aws rds cluster
(Redirected from Aws rds cluste)
Jump to navigation
Jump to search
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster
Arguments[edit]
aws_rds_cluster
min_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
:aurora, aurora-mysql, aurora-postgresql
engine_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_identifierscaling
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster#scaling_configuration- backup_retention_period
deletion_protection
serverlessv2_scaling_configuration
storage_encrypted
kms_key_id
master_password
database_name
engine_version
vpc_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]
Advertising: