aurora

franviera92/aurora/aws

Terraform Module HCL AWS ⏱ stale 6y 0mo

Terraform module which creates RDS Aurora database resources on AWS and can create different type of databases. Currently it supports Postgres and MySQL.

Install

module "aurora" {
source = "franviera92/aurora/aws"
version = "0.12.4"
}
⭐ Source on GitHub 📦 Registry page

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)

NameTypeDescriptionDefault
instance_typestringInstance type to use. required
namestringName (e.g. `app` or `cluster`). required
usernamestringMaster DB username. required
monitoring_intervalnumberThe interval (seconds) between points when Enhanced Monitoring metrics are colle0
auto_minor_version_upgradeboolDetermines whether minor engine upgrades will be performed automatically in the true
snapshot_identifierstringDB snapshot to create this database from.""
kms_key_idstringThe ARN for the KMS encryption key if one is set to the cluster.""
replica_scale_cpunumberCPU usage to trigger autoscaling.70
enableboolSet to false to prevent the module from creating any resources.true
applicationstringApplication (e.g. `cd` or `clouddrove`).""
aws_security_grouplist(string)Specifies whether IAM Database authentication should be enabled or not. Not all []
tags-rdsstringApplication (e.g. `cd` or `clouddrove`).""
preferred_maintenance_windowstringWhen to perform DB maintenance."sun:05:00-sun:06:00"
replica_scale_out_cooldownnumberCooldown in seconds before allowing further scaling operations after a scale out300
environmentstringEnvironment (e.g. `prod`, `dev`, `staging`).""
label_orderlistLabel order, e.g. `name`,`application`.[]
identifier_prefixstringPrefix for cluster and instance identifier.""
passwordstringMaster DB password.""
preferred_backup_windowstringWhen to perform DB backups."02:00-03:00"
apply_immediatelyboolDetermines whether or not any DB modifications are applied immediately, or durinfalse
db_cluster_parameter_group_namestringThe name of a DB Cluster parameter group to use."default.aurora5.6"
final_snapshot_identifier_prefixstringThe prefix name to use when creating a final snapshot on cluster destroy, append"final"
backup_retention_periodnumberHow 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.

Resources (6)

aws_db_parameter_groupaws_db_subnet_groupaws_rds_clusteraws_rds_cluster_instanceaws_rds_cluster_parameter_grouprandom_id

Details

FrameworkTerraform Module
LanguageHCL
Version0.12.4
Cloud AWS
★ Stars0
Forks0
Total downloads6.6k
Inputs48
Outputs9
Resources6
LicenseMIT
Namespacefranviera92
Updated