rds-replica

cloudposse/rds-replica/aws

Terraform Module HCL AWS

Terraform module that provisions an RDS replica

Install
module "rds-replica" {
source = "cloudposse/rds-replica/aws"
version = "0.2.0"
}
plain text: /constructs/tfmod-cloudposse-rds-replica-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

[![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) terraform-aws-rds-replica ![Build Status](https://travis-ci.org/cloudposse/terraform-aws-rds-replica) ![Latest Release](https://github.com/cloudposse/terraform-aws-rds-replica/releases/latest) ![Slack Community](https://slack.cloudposse.com) Terraform module to provision AWS RDS replica instances. These are best suited for reporting purposes. IMPORTANT It is not possible to create a read replica for a DB Instance that belongs to an Aurora DB Cluster. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terrafo

Inputs (35)
NameTypeDescriptionDefault
namespacestringNamespace (e.g. `eg` or `cp`) required
namestringThe Name of the application or solution (e.g. `bastion` or `portal`) required
stagestringStage (e.g. `prod`, `dev`, `staging`) required
subnet_idslistList of subnets for the DB required
instance_classstringClass of RDS instance required
vpc_idstringVPC ID the DB instance will be created in required
replicate_source_dbstringSpecifies that this resource is a Replicate database, and to use this value as t required
database_portstringDatabase port (_e.g._ `3306` for `MySQL`). Used in the DB Security Group to allo required
security_group_idslistThe IDs of the security groups from which to allow `ingress` traffic to the DB i[]
apply_immediatelystringSpecifies whether any database modifications are applied immediately, or during "false"
delimiterstringDelimiter to be used between `name`, `namespace`, `stage` and `attributes`"-"
same_regionstringWhether this replica is in the same region as the master."false"
multi_azstringSet to true if multi AZ deployment must be supported"false"
storage_encryptedstringSpecifies whether the DB instance is encrypted. The default is false if not spec"false"
attributeslistAdditional attributes (e.g. `1`)[]
tagsmapAdditional tags (e.g. map(`BusinessUnit`,`XYZ`){}
monitoring_intervalstringThe interval, in seconds, between points when Enhanced Monitoring metrics are co"0"
storage_typestringOne of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned"standard"
backup_retention_periodstringBackup retention period in days. Must be > 0 to enable backups0
skip_final_snapshotstringIf true (default), no snapshot will be made before deleting DB"true"
parameter_group_namestringName of the DB parameter group to associate""
dns_zone_idstringThe ID of the DNS Zone in Route53 where a new DNS record will be created for the""
maintenance_windowstringThe window to perform maintenance in. Syntax: 'ddd:hh24:mi-ddd:hh24:mi' UTC "Mon:03:00-Mon:04:00"
enabledstringSet to false to prevent the module from creating any resources"true"
publicly_accessiblestringDetermines if database can be publicly available (NOT recommended)"false"
final_snapshot_identifierstringFinal snapshot identifier e.g.: some-db-final-snapshot-2015-06-26-06-05""
snapshot_identifierstringSnapshot identifier e.g: rds:production-2015-06-26-06-05. If specified, the modu""
kms_key_idstringThe ARN for the KMS encryption key. If creating an encrypted replica, set this t""
Outputs (6)
instance_id — ID of the instance
instance_address — Address of the instance
instance_endpoint — DNS Endpoint of the instance
subnet_group_id — ID of the Subnet Group
security_group_id — ID of the Security Group
hostname — DNS host name of the instance
Resources (5)
aws_db_instanceaws_db_subnet_groupaws_kms_keyaws_security_groupaws_security_group_rule
Details
FrameworkTerraform Module
LanguageHCL
Version0.2.0
Cloud AWS
★ Stars30
Forks27
Total downloads6.6k
Inputs35
Outputs6
Resources5
LicenseApache-2.0
Namespacecloudposse
Updated