rds-aurora

aws-ia/rds-aurora/aws

Terraform Module HCL AWS ✓ Verified

AWS RDS Aurora Module

Install
module "rds-aurora" {
source = "aws-ia/rds-aurora/aws"
version = "0.0.7"
}
⭐ Source on GitHub 📦 Registry page
README

> Note: This module is in alpha state and is likely to contain bugs and updates may introduce breaking changes. It is not recommended for production use at this time. Terraform Amazon Aurora Terraform module for automating deployment of Amazon Aurora and related resources following AWS best practices. Supported Features - Aurora Provisioned cluster (MySQL & PostgreSQL) - Aurora Global databases (MySQL & PostgreSQL) Deployment Procedure To deploy the Terraform Amazon Aurora module, do the following: 1. Install Terraform. For instructions and a video tutorial, see Install Terraform. 2. Sign up and log into Terraform Cloud (There is a free tier available). 1. Create a Terraform organization. 3. Configure Terraform Cloud API access. Run the following to generate a Terraform Cloud token from th

Inputs (33)
NameTypeDescriptionDefault
sec_regionstringThe name of the secondary AWS region you wish to deploy into required
regionstringThe name of the primary AWS region you wish to deploy into required
private_subnet_ids_plist(string)A list of private subnet IDs in your Primary AWS region VPC required
passwordstringMaster DB password required
private_subnet_ids_slist(string)A list of private subnet IDs in your Secondary AWS region VPC required
instance_classstringInstance type to use at replica instance"db.r5.large"
database_namestringName for an automatically created database on cluster creation"mydb"
auto_minor_version_upgradeboolDetermines whether minor engine upgrades will be performed automatically in the true
enginestringAurora database engine type: aurora (for MySQL 5.6-compatible Aurora), aurora-my"aurora-postgresql"
engine_version_mysqlstringAurora database engine version."5.7.mysql_aurora.2.10.2"
secondary_instance_countnumberinstance count for secondary Aurora cluster1
skip_final_snapshotboolskip creating a final snapshot before deleting the DBtrue
allow_major_version_upgradeboolEnable to allow major engine version upgrades when changing engine versions. Deftrue
enable_slowquery_logboolEnable MySQL slowquery log export to Amazon Cloudwatch.false
namestringPrefix for resource names"aurora"
usernamestringMaster DB username"root"
storage_encryptedboolSpecifies whether the underlying Aurora storage layer should be encryptedfalse
snapshot_identifierstringid of snapshot to restore. If you do not want to restore a db, leave the default""
enable_audit_logboolEnable MySQL audit log export to Amazon Cloudwatch.false
final_snapshot_identifier_prefixstringThe prefix name to use when creating a final snapshot on cluster destroy, append"final"
preferred_backup_windowstringWhen to perform DB backups"02:00-03:00"
enable_error_logboolEnable MySQL error log export to Amazon Cloudwatch.false
setup_as_secondaryboolSetup aws_rds_cluster.primary Terraform resource as Secondary Aurora cluster aftfalse
enable_postgresql_logboolEnable PostgreSQL log export to Amazon Cloudwatch.false
identifierstringCluster identifier"aurora"
Outputs (12)
aurora_cluster_id — The ID of the Primary Aurora cluster
aurora_cluster_resource_id — The Cluster Resource ID of the Primary Aurora cluster
aurora_cluster_reader_endpoint — Primary Aurora cluster reader endpoint
aurora_cluster_port — Primary Aurora cluster endpoint port
aurora_cluster_database_name — Name for an automatically created database on Aurora cluster creation
aurora_cluster_hosted_zone_id — Route53 hosted zone id of the Primary Aurora cluster
aurora_cluster_arn — The ARN of the Primary Aurora cluster
aurora_cluster_endpoint — Primary Aurora cluster endpoint
aurora_cluster_master_username — Aurora master username
aurora_cluster_master_password — Aurora master User password
aurora_cluster_instance_endpoints — A list of all Primary Aurora cluster instance endpoints
aurora_cluster_instance_ids — A list of all Primary Aurora cluster instance ids
Resources (13)
aws_cloudwatch_metric_alarmaws_db_event_subscriptionaws_db_parameter_groupaws_db_subnet_groupaws_iam_roleaws_kms_keyaws_rds_clusteraws_rds_cluster_instanceaws_rds_cluster_parameter_groupaws_rds_global_clusteraws_sns_topicrandom_idrandom_password
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.7
Cloud AWS
★ Stars30
Forks35
Total downloads5.8k
Inputs33
Outputs12
Resources13
Namespaceaws-ia
Updated