Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 2.88 KB

File metadata and controls

63 lines (46 loc) · 2.88 KB

Custom Instance Settings Example

Configuration in this directory creates an Aurora cluster with multiple replicas configured through custom settings.

Usage

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.

Requirements

Name Version
terraform >= 0.13
aws >= 3.8

Providers

Name Version
aws >= 3.8

Modules

Name Source Version
aurora ../../ n/a
vpc terraform-aws-modules/vpc/aws ~> 3.0

Resources

Name Type
aws_db_parameter_group.example resource
aws_rds_cluster_parameter_group.example resource

Inputs

No inputs.

Outputs

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_endpoints A list of all cluster instance endpoints
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