aurora

104corp/aurora/aws

Terraform Module HCL AWS

Terraform module which creates Aurora resources on AWS

Install
module "aurora" {
source = "104corp/aurora/aws"
version = "1.2.0"
}
plain text: /constructs/tfmod-104corp-aurora-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

AWS Aurora Terraform module !Build Status !LicenseBadge AWS Aurora DB Cluster & Instance(s) Terraform Module. Gives you: - A DB subnet group - An Aurora DB cluster - An Aurora DB instance + 'n' number of additional instances - Optionally RDS 'Enhanced Monitoring' + associated required IAM role/policy (by simply setting the monitoring_interval param to > 0 - Optionally sensible alarms to SNS (high CPU, high connections, slow replication) - Optionally configure autoscaling for read replicas (MySQL clusters only) Terraform version Terraform version 0.10.3 or newer is required for this module to work. Contributing Ensure any variables you add have a type and a description. This README is generated with terraform-docs: terraform-docs md . > README.md Usage examples It is recommended you always

Inputs (46)
NameTypeDescriptionDefault
envnamestringEnvironment name (eg,test, stage or prod) required
azslistList of AZs to use required
subnetslistList of subnet IDs to use required
security_groupslistVPC Security Group IDs required
namestringName given to DB subnet group required
envtypestringEnvironment type (eg,prod or nonprod) required
passwordstringMaster DB password required
cw_eval_period_replica_lagstringEvaluation period for the DB replica lag alarm"5"
engine_modestringAurora database engine mode, currently global, parallelquery, provisioned or ser"provisioned"
usernamestringMaster DB username"root"
final_snapshot_identifierstringThe name to use when creating a final snapshot on cluster destroy, appends a ran"final"
portstringThe port on which to accept connections"3306"
replica_scale_maxstringMaximum number of replicas to allow scaling for"0"
replica_scale_minstringMaximum number of replicas to allow scaling for"2"
enabledstringWhether the database resources should be createdtrue
database_namestringMaster DB name""
storage_encryptedstringSpecifies whether the underlying storage layer should be encrypted"true"
cw_max_connsstringConnection count beyond which to trigger a CloudWatch alarm"500"
cw_max_cpustringCPU threshold above which to alarm"85"
enginestringAurora database engine type, currently aurora, aurora-mysql or aurora-postgresql"aurora"
identifier_prefixstringPrefix for cluster and instance identifier""
instance_typestringInstance type to use"db.t2.small"
preferred_maintenance_windowstringWhen to perform DB maintenance"sun:05:00-sun:06:00"
cw_alarmsstringWhether to enable CloudWatch alarms - requires `cw_sns_topic` is specifiedfalse
cw_sns_topicstringAn SNS topic to publish CloudWatch alarms to"false"
performance_insights_enabledstringWhether to enable Performance Insightsfalse
iam_database_authentication_enabledstringWhether to enable IAM database authentication for the RDS Clusterfalse
… and 6 more inputs
Outputs (4)
cluster_endpoint
all_instance_endpoints_list
reader_endpoint
cluster_identifier
Resources (9)
aws_appautoscaling_policyaws_appautoscaling_targetaws_cloudwatch_metric_alarmaws_db_subnet_groupaws_iam_roleaws_iam_role_policy_attachmentaws_rds_clusteraws_rds_cluster_instancerandom_id
Topics & Tags
auroraterraformaws
Details
FrameworkTerraform Module
LanguageHCL
Version1.2.0
Cloud AWS
★ Stars1
Forks2
Total downloads6.6k
Inputs46
Outputs4
Resources9
LicenseApache-2.0
Namespace104corp
Updated