rds-cluster-instance-group

cloudposse/rds-cluster-instance-group/aws

Terraform Module HCL AWS

Terraform module to provision an RDS cluster instance pool with a dedicated endpoint

Install
module "rds-cluster-instance-group" {
source = "cloudposse/rds-cluster-instance-group/aws"
version = "0.1.0"
}
plain text: /constructs/tfmod-cloudposse-rds-cluster-instance-group-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-cluster-instance-group ![Build Status](https://travis-ci.org/cloudposse/terraform-aws-rds-cluster-instance-group) ![Latest Release](https://github.com/cloudposse/terraform-aws-rds-cluster-instance-group/releases/latest) ![Slack Community](https://slack.cloudposse.com) Terraform module to provision an RDS Aurora instance group for MySQL or Postgres along with a dedicated endpoint. Use this module together with our terraform-aws-rds-cluster to provision pools of RDS instances. This is useful for creating reporting clusters that don't impact the production databases. Supports Amazon Aurora Serverless. --- This project is part of our comprehensive "SweetOps" approach tow

Inputs (28)
NameTypeDescriptionDefault
stageanyStage (e.g. `prod`, `dev`, `staging`) required
nameanyName of the application required
namespaceanyNamespace (e.g. `eg` or `cp`) required
cluster_identifieranyThe cluster identifier required
vpc_idanyVPC ID to create the cluster in (e.g. `vpc-a22222ee`) required
subnetsanyList of VPC subnet IDs required
instance_typeanyInstance type to use"db.t2.small"
storage_encryptedanySpecifies whether the DB cluster is encrypted. The default is `false` for `provi"true"
security_groupsanyList of security groups to be allowed to connect to the DB instances[]
engineanyThe name of the database engine to be used for this DB cluster. Valid values: `a"aurora"
custom_endpoint_typeany The type of the endpoint. One of: READER, ANY"READER"
allowed_cidr_blocksanyList of CIDR blocks allowed to access[]
rds_monitoring_intervalanyInterval in seconds that metrics are collected, 0 to disable (values can only be"0"
db_subnet_group_nameanyA DB subnet group to associate with this DB instance. NOTE: This must match the ""
publicly_accessibleanySet to true if you want your cluster to be publicly accessible (such as via Quic"false"
rds_monitoring_role_arnanyThe ARN for the IAM role that can send monitoring metrics to CloudWatch Logs""
cluster_sizeanyNumber of DB instances to create in the cluster"2"
attributesanyAdditional attributes (e.g. `1`)[ "replicas" ]
cluster_familyanyThe family of the DB cluster parameter group"aurora5.6"
promotion_tieranyFailover Priority setting on instance level. The reader who has lower tier has h"15"
tagsanyAdditional tags (e.g. map(`BusinessUnit`,`XYZ`){}
instance_parametersanyList of DB instance parameters to apply[]
security_group_idsanyThe IDs of the security groups from which to allow `ingress` traffic to the DB i[]
zone_idanyRoute53 parent zone ID. If provided (not empty), the module will create sub-doma""
delimiteranyDelimiter to be used between `name`, `namespace`, `stage` and `attributes`"-"
db_portanyDatabase port"3306"
Outputs (2)
hostname — The DNS address for the endpoint of the Aurora cluster
endpoint — The endpoint for the Aurora cluster, automatically load-balanced across replicas
Resources (5)
aws_db_parameter_groupaws_rds_cluster_endpointaws_rds_cluster_instanceaws_security_groupaws_security_group_rule
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud AWS
★ Stars5
Forks7
Total downloads6.5k
Inputs28
Outputs2
Resources5
LicenseApache-2.0
Namespacecloudposse
Updated