aurora
104corp/aurora/aws
Terraform module which creates Aurora resources on AWS
Install
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)
| Name | Type | Description | Default |
|---|---|---|---|
| envname | string | Environment name (eg,test, stage or prod) | required |
| azs | list | List of AZs to use | required |
| subnets | list | List of subnet IDs to use | required |
| security_groups | list | VPC Security Group IDs | required |
| name | string | Name given to DB subnet group | required |
| envtype | string | Environment type (eg,prod or nonprod) | required |
| password | string | Master DB password | required |
| cw_eval_period_replica_lag | string | Evaluation period for the DB replica lag alarm | "5" |
| engine_mode | string | Aurora database engine mode, currently global, parallelquery, provisioned or ser | "provisioned" |
| username | string | Master DB username | "root" |
| final_snapshot_identifier | string | The name to use when creating a final snapshot on cluster destroy, appends a ran | "final" |
| port | string | The port on which to accept connections | "3306" |
| replica_scale_max | string | Maximum number of replicas to allow scaling for | "0" |
| replica_scale_min | string | Maximum number of replicas to allow scaling for | "2" |
| enabled | string | Whether the database resources should be created | true |
| database_name | string | Master DB name | "" |
| storage_encrypted | string | Specifies whether the underlying storage layer should be encrypted | "true" |
| cw_max_conns | string | Connection count beyond which to trigger a CloudWatch alarm | "500" |
| cw_max_cpu | string | CPU threshold above which to alarm | "85" |
| engine | string | Aurora database engine type, currently aurora, aurora-mysql or aurora-postgresql | "aurora" |
| identifier_prefix | string | Prefix for cluster and instance identifier | "" |
| instance_type | string | Instance type to use | "db.t2.small" |
| preferred_maintenance_window | string | When to perform DB maintenance | "sun:05:00-sun:06:00" |
| cw_alarms | string | Whether to enable CloudWatch alarms - requires `cw_sns_topic` is specified | false |
| cw_sns_topic | string | An SNS topic to publish CloudWatch alarms to | "false" |
| performance_insights_enabled | string | Whether to enable Performance Insights | false |
| iam_database_authentication_enabled | string | Whether to enable IAM database authentication for the RDS Cluster | false |
| … and 6 more inputs | |||
Outputs (4)
cluster_endpointall_instance_endpoints_listreader_endpointcluster_identifierResources (9)
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,