aurora
franviera92/aurora/aws
Terraform module which creates RDS Aurora database resources on AWS and can create different type of databases. Currently it supports Postgres and MySQL.
Install
README
Terraform AWS Aurora Terraform module which creates RDS Aurora database resources on AWS and can create different type of databases. Currently it supports Postgres and MySQL. We eat, drink, sleep and most importantly love DevOps. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems . Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. This module is basically combination of Terraform open source and includes automatation tests and examples. It also helps to create and improve your in
Inputs (48)
| Name | Type | Description | Default |
|---|---|---|---|
| instance_type | string | Instance type to use. | required |
| name | string | Name (e.g. `app` or `cluster`). | required |
| username | string | Master DB username. | required |
| monitoring_interval | number | The interval (seconds) between points when Enhanced Monitoring metrics are colle | 0 |
| auto_minor_version_upgrade | bool | Determines whether minor engine upgrades will be performed automatically in the | true |
| snapshot_identifier | string | DB snapshot to create this database from. | "" |
| kms_key_id | string | The ARN for the KMS encryption key if one is set to the cluster. | "" |
| replica_scale_cpu | number | CPU usage to trigger autoscaling. | 70 |
| enable | bool | Set to false to prevent the module from creating any resources. | true |
| application | string | Application (e.g. `cd` or `clouddrove`). | "" |
| aws_security_group | list(string) | Specifies whether IAM Database authentication should be enabled or not. Not all | [] |
| tags-rds | string | Application (e.g. `cd` or `clouddrove`). | "" |
| preferred_maintenance_window | string | When to perform DB maintenance. | "sun:05:00-sun:06:00" |
| replica_scale_out_cooldown | number | Cooldown in seconds before allowing further scaling operations after a scale out | 300 |
| environment | string | Environment (e.g. `prod`, `dev`, `staging`). | "" |
| label_order | list | Label order, e.g. `name`,`application`. | [] |
| identifier_prefix | string | Prefix for cluster and instance identifier. | "" |
| password | string | Master DB password. | "" |
| preferred_backup_window | string | When to perform DB backups. | "02:00-03:00" |
| apply_immediately | bool | Determines whether or not any DB modifications are applied immediately, or durin | false |
| db_cluster_parameter_group_name | string | The name of a DB Cluster parameter group to use. | "default.aurora5.6" |
| final_snapshot_identifier_prefix | string | The prefix name to use when creating a final snapshot on cluster destroy, append | "final" |
| backup_retention_period | number | How long to keep backups for (in days). | 7 |
| … and 8 more inputs | |||
Outputs (9)
rds_cluster_id — The ID of the cluster.rds_cluster_database_name — Name for an automatically created database on cluster creation.tags — A mapping of tags to assign to the resource.rds_cluster_endpoint — The cluster endpoint.rds_cluster_reader_endpoint — The cluster reader endpoint.rds_cluster_master_password — The master password.rds_cluster_port — The port of Cluster.rds_cluster_master_username — The master username.rds_cluster_instance_endpoints — A list of all cluster instance endpoints.