Difference between revisions of "Terraform resource: aws rds cluster"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster | https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster | ||
− | |||
− | |||
== Arguments == | == Arguments == | ||
* <code>aws_rds_cluster</code> | * <code>aws_rds_cluster</code> |
Revision as of 12:21, 1 August 2024
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster
Arguments
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
master_password
database_name
engine_version
Official example
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" }
Related terms
See also
Advertising: