aurora

clouddrove/aurora/aws

Terraform Module HCL 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
module "aurora" {
source = "clouddrove/aurora/aws"
version = "2.0.0"
}
plain text: /constructs/tfmod-clouddrove-aurora-aws/install.txt
⭐ 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 (50)
NameTypeDescriptionDefault
repositorystringTerraform current module repo"https://github.com/clouddrove/terraform
master_usernamestringUsername for the master DB user. Required unless `snapshot_identifier` or `replinull
ca_cert_identifierstringThe identifier of the CA certificate for the DB instancenull
iopsnumberThe amount of Provisioned IOPS (input/output operations per second) to be initianull
iam_rolesmap(map(string))Map of IAM roles and supported feature names to associate with the cluster{}
predefined_metric_typestringThe metric type to scale on. Valid values are `RDSReaderAverageCPUUtilization` a"RDSReaderAverageCPUUtilization"
vpc_idstringID of the VPC where to create security group""
db_cluster_parameter_group_familystringThe family of the DB cluster parameter group""
cluster_timeoutsmap(string)Create, update, and delete timeout configurations for the cluster{}
create_monitoring_roleboolDetermines whether to create the IAM role for RDS enhanced monitoringtrue
tagsmap(string)A map of tags to add to all resources{}
db_subnet_group_namestringThe name of the subnet group name (existing or created)""
db_cluster_instance_classstringThe compute and memory capacity of each DB instance in the Multi-AZ DB cluster, null
restore_to_point_in_timemap(string)Map of nested attributes for cloning Aurora cluster{}
cluster_tagsmap(string)A map of tags to add to only the cluster. Used for AWS Instance Scheduler taggin{}
autoscaling_min_capacitynumberMinimum number of read replicas permitted when autoscaling is enabled0
backup_retention_periodnumberThe days to retain backups for. Default `7`7
enable_http_endpointboolEnable HTTP endpoint (data API). Only valid when engine_mode is set to `serverlenull
kms_key_idstringThe ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrynull
master_user_secret_kms_key_idstringThe Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, ornull
… and 10 more inputs
Outputs (25)
cluster_master_username — The database master username
cluster_reader_endpoint — A read-only endpoint for the cluster, automatically load-balanced across replicas
cluster_master_password — The database master password
security_group_id — The security group ID of the cluster
db_parameter_group_id — The ID of the DB parameter group created
cluster_arn — Amazon Resource Name (ARN) of cluster
cluster_members — List of RDS Instances that are a part of this cluster
cluster_master_user_secret — The generated database master user secret when `manage_master_user_password` is set to `true`
cluster_hosted_zone_id — The Route53 Hosted Zone ID of the endpoint
cluster_instances — A map of cluster instances and their attributes
cluster_role_associations — A map of IAM roles associated with the cluster and their attributes
enhanced_monitoring_iam_role_name — The name of the enhanced monitoring role
enhanced_monitoring_iam_role_arn — The Amazon Resource Name (ARN) specifying the enhanced monitoring role
cluster_resource_id — The RDS Cluster Resource ID
db_cluster_parameter_group_id — The ID of the DB cluster parameter group created
db_parameter_group_arn — The ARN of the DB parameter group created
db_cluster_parameter_group_arn — The ARN of the DB cluster parameter group created
cluster_port — The database port
cluster_endpoint — Writer endpoint for the cluster
cluster_engine_version_actual — The running version of the cluster database
cluster_database_name — Name for an automatically created database on cluster creation
additional_cluster_endpoints — A map of additional cluster endpoints and their attributes
enhanced_monitoring_iam_role_unique_id — Stable and unique string identifying the enhanced monitoring role
db_cluster_cloudwatch_log_groups — Map of CloudWatch log groups created and their attributes
cluster_id — The RDS Cluster Identifier
Resources (15)
aws_appautoscaling_policyaws_appautoscaling_targetaws_cloudwatch_log_groupaws_db_parameter_groupaws_db_subnet_groupaws_iam_roleaws_iam_role_policy_attachmentaws_rds_clusteraws_rds_cluster_endpointaws_rds_cluster_instanceaws_rds_cluster_parameter_groupaws_rds_cluster_role_associationaws_security_groupaws_security_group_rulerandom_id
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.0
Cloud AWS
★ Stars25
Forks17
Total downloads9.8k
Inputs50
Outputs25
Resources15
LicenseApache-2.0
Namespaceclouddrove
Updated