Configuration in this directory creates a PostgreSQL Aurora cluster.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Note that this example may create resources which cost money. Run terraform destroy
when you don't need these resources.
Name | Version |
---|---|
terraform | >= 0.13 |
aws | >= 3.8 |
random | >= 2.2 |
Name | Version |
---|---|
aws | >= 3.8 |
random | >= 2.2 |
Name | Source | Version |
---|---|---|
aurora | ../../ | |
vpc | terraform-aws-modules/vpc/aws | ~> 3.0 |
Name | Type |
---|---|
aws_db_parameter_group.example | resource |
aws_rds_cluster_parameter_group.example | resource |
random_password.master | resource |
No inputs.
Name | Description |
---|---|
rds_cluster_database_name | Name for an automatically created database on cluster creation |
rds_cluster_endpoint | The cluster endpoint |
rds_cluster_id | The ID of the cluster |
rds_cluster_instance_dbi_resource_ids | A list of all the region-unique, immutable identifiers for the DB instances |
rds_cluster_instance_endpoints | A list of all cluster instance endpoints |
rds_cluster_instance_ids | A list of all cluster instance ids |
rds_cluster_master_password | The master password |
rds_cluster_master_username | The master username |
rds_cluster_port | The port |
rds_cluster_reader_endpoint | The cluster reader endpoint |
rds_cluster_resource_id | The Resource ID of the cluster |
security_group_id | The security group ID of the cluster |