Skip to content

Latest commit

 

History

History
 
 

postgresql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

PostgreSQL Example

Configuration in this directory creates a PostgreSQL Aurora cluster.

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.12.26
aws >= 3.8
random >= 2.2

Providers

Name Version
aws >= 3.8
random >= 2.2

Modules

Name Source Version
aurora ../../
vpc terraform-aws-modules/vpc/aws ~> 2

Resources

Name
aws_db_parameter_group
aws_rds_cluster_parameter_group
random_password

Inputs

No input.

Outputs

Name Description
this_rds_cluster_database_name Name for an automatically created database on cluster creation
this_rds_cluster_endpoint The cluster endpoint
this_rds_cluster_id The ID of the cluster
this_rds_cluster_instance_endpoints A list of all cluster instance endpoints
this_rds_cluster_instance_ids A list of all cluster instance ids
this_rds_cluster_master_password The master password
this_rds_cluster_master_username The master username
this_rds_cluster_port The port
this_rds_cluster_reader_endpoint The cluster reader endpoint
this_rds_cluster_resource_id The Resource ID of the cluster
this_security_group_id The security group ID of the cluster