{"id":46337204,"url":"https://github.com/squareops/terraform-aws-rds-aurora","last_synced_at":"2026-03-04T19:05:23.021Z","repository":{"id":262612200,"uuid":"590521240","full_name":"squareops/terraform-aws-rds-aurora","owner":"squareops","description":"Terraform RDS Aurora module simplifies the deployment of Amazon Aurora databases on AWS, providing a scalable, high-performance solution with automated backups and security features.","archived":false,"fork":false,"pushed_at":"2025-04-11T06:28:50.000Z","size":92,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-13T09:54:11.196Z","etag":null,"topics":["aurora","aws","database","terraform"],"latest_commit_sha":null,"homepage":"https://squareops.com","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squareops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-18T15:55:42.000Z","updated_at":"2025-04-11T06:26:46.000Z","dependencies_parsed_at":"2024-11-13T11:27:11.170Z","dependency_job_id":"4a011ea0-cc8a-4a2f-8478-2f66578eafe3","html_url":"https://github.com/squareops/terraform-aws-rds-aurora","commit_stats":null,"previous_names":["squareops/terraform-aws-rds-aurora"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/squareops/terraform-aws-rds-aurora","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-aurora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-aurora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-aurora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-aurora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squareops","download_url":"https://codeload.github.com/squareops/terraform-aws-rds-aurora/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-aurora/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30090041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T18:31:08.343Z","status":"ssl_error","status_checked_at":"2026-03-04T18:31:07.708Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aurora","aws","database","terraform"],"created_at":"2026-03-04T19:05:22.284Z","updated_at":"2026-03-04T19:05:22.997Z","avatar_url":"https://github.com/squareops.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"## AURORA\n![squareops_avatar]\n\n[squareops_avatar]: https://squareops.com/wp-content/uploads/2022/12/squareops-logo.png\n\n### [SquareOps Technologies](https://squareops.com/) Your DevOps Partner for Accelerating cloud journey.\n\u003cbr\u003e\nThis Terraform module provides a convenient way to create and manage an Amazon Aurora RDS (Relational Database Service) cluster in AWS. It supports creating both Aurora MySQL and Aurora PostgreSQL clusters.\nFeatures\n\n  1. Creates an Amazon Aurora RDS cluster with customizable configuration.\n  2. Supports both Aurora MySQL and Aurora PostgreSQL engine types.\n  3. Allows for easy management of database instances, replicas, and failover.\n  4. Configurable backup retention periods and preferred backup/maintenance windows.\n  5. Option to enable encryption at rest using AWS Key Management Service (KMS).\n  6. Flexible configuration for database parameter groups and security groups.\n  7. Supports provisioning in existing VPCs and subnets.\n  8. Enables autoscaling for Aurora MySQL read replicas.\n  9. Support for serverless Aurora PostgreSQL and performance insights.\n  10. Replication: Replicate data from another Amazon RDS database by specifying the source database identifier.\n  11. Snapshot Restore: Restore the database from a specified snapshot ID to easily recreate database instances.\n\n## Usage Example\n```hcl\n  module \"aurora\" {\n  source                           = \"squareops/rds-aurora/aws\"\n  version                          = \"2.1.1\"\n  role_arn                         = local.role_arn\n  external_id                      = local.external_id\n  environment                      = local.environment\n  port                             = local.port\n  vpc_id                           = module.vpc.vpc_id\n  family                           = local.family\n  subnets                          = module.vpc.database_subnets\n  engine                           = local.engine\n  engine_version                   = local.db_engine_version\n  rds_instance_name                = local.name\n  create_security_group            = true\n  instance_type                    = local.db_instance_class\n  storage_encrypted                = true\n  kms_key_arn                      = module.kms.key_arn\n  publicly_accessible              = false\n  master_username                  = \"devuser\"\n  database_name                    = \"devdb\"\n  apply_immediately                = true\n  create_random_password           = true\n  skip_final_snapshot              = true #  Keeping final snapshot results in retention of DB options group and hence creates problems during destroy. So use this option wisely.\n  snapshot_identifier              = null\n  preferred_backup_window          = \"03:00-06:00\"\n  preferred_maintenance_window     = \"Mon:00:00-Mon:03:00\"\n  final_snapshot_identifier_prefix = \"prod-snapshot\"\n  backup_retention_period          = 7\n  enable_ssl_connection            = false\n  autoscaling_enabled              = true\n  autoscaling_max                  = 4\n  autoscaling_min                  = 1\n  long_query_time                  = 10\n  deletion_protection              = false\n  predefined_metric_type           = \"RDSReaderAverageDatabaseConnections\"\n  autoscaling_target_connections   = 40\n  autoscaling_scale_in_cooldown    = 60\n  autoscaling_scale_out_cooldown   = 30\n  allowed_cidr_blocks              = local.allowed_cidr_blocks\n  allowed_security_groups          = local.allowed_security_groups\n}\n```\n## Security \u0026 Compliance [\u003cimg src=\"\thttps://prowler.pro/wp-content/themes/prowler-pro/assets/img/logo.svg\" width=\"250\" align=\"right\" /\u003e](https://prowler.pro/)\n\nSecurity scanning is graciously provided by Prowler. Proowler is the leading fully hosted, cloud-native solution providing continuous cluster security and compliance.\n\n| Benchmark | Description |\n|--------|---------------|\n| Ensure that encryption is enabled for RDS instances | Enabled for RDS created using this module. |\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.0 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 4.30 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 4.30 |\n| \u003ca name=\"provider_aws.secondary\"\u003e\u003c/a\u003e [aws.secondary](#provider\\_aws.secondary) | \u003e= 4.30 |\n| \u003ca name=\"provider_random\"\u003e\u003c/a\u003e [random](#provider\\_random) | n/a |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_aurora\"\u003e\u003c/a\u003e [aurora](#module\\_aurora) | terraform-aws-modules/rds-aurora/aws | 8.3.0 |\n| \u003ca name=\"module_aurora_secondary\"\u003e\u003c/a\u003e [aurora\\_secondary](#module\\_aurora\\_secondary) | terraform-aws-modules/rds-aurora/aws | 8.3.0 |\n| \u003ca name=\"module_backup_restore\"\u003e\u003c/a\u003e [backup\\_restore](#module\\_backup\\_restore) | ./modules/db-backup-restore | n/a |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_db_parameter_group.rds_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) | resource |\n| [aws_rds_cluster_parameter_group.rds_cluster_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group) | resource |\n| [aws_rds_global_cluster.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_global_cluster) | resource |\n| [aws_secretsmanager_secret.secret_master_db](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret) | resource |\n| [aws_secretsmanager_secret_version.rds_credentials](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret_version) | resource |\n| [random_password.master](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) | resource |\n| [aws_availability_zones.primary](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |\n| [aws_availability_zones.secondary](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |\n| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_allow_major_version_upgrade\"\u003e\u003c/a\u003e [allow\\_major\\_version\\_upgrade](#input\\_allow\\_major\\_version\\_upgrade) | Determines whether major engine upgrades are allowed when changing engine version | `bool` | `false` | no |\n| \u003ca name=\"input_allowed_cidr_blocks\"\u003e\u003c/a\u003e [allowed\\_cidr\\_blocks](#input\\_allowed\\_cidr\\_blocks) | A list of CIDR blocks which are allowed to access the database | `any` | `[]` | no |\n| \u003ca name=\"input_allowed_security_groups\"\u003e\u003c/a\u003e [allowed\\_security\\_groups](#input\\_allowed\\_security\\_groups) | A list of Security Group IDs to allow access to the database | `any` | `[]` | no |\n| \u003ca name=\"input_apply_immediately\"\u003e\u003c/a\u003e [apply\\_immediately](#input\\_apply\\_immediately) | Specifies whether any cluster modifications are applied immediately or during the next maintenance window | `bool` | `false` | no |\n| \u003ca name=\"input_autoscaling_cpu\"\u003e\u003c/a\u003e [autoscaling\\_cpu](#input\\_autoscaling\\_cpu) | CPU usage to trigger autoscaling at | `number` | `70` | no |\n| \u003ca name=\"input_autoscaling_enabled\"\u003e\u003c/a\u003e [autoscaling\\_enabled](#input\\_autoscaling\\_enabled) | Whether to enable autoscaling for RDS Aurora (MySQL) read replicas | `bool` | `false` | no |\n| \u003ca name=\"input_autoscaling_max\"\u003e\u003c/a\u003e [autoscaling\\_max](#input\\_autoscaling\\_max) | Maximum number of replicas to allow scaling for | `number` | `3` | no |\n| \u003ca name=\"input_autoscaling_min\"\u003e\u003c/a\u003e [autoscaling\\_min](#input\\_autoscaling\\_min) | Minimum number of replicas to allow scaling for | `number` | `1` | no |\n| \u003ca name=\"input_autoscaling_scale_in_cooldown\"\u003e\u003c/a\u003e [autoscaling\\_scale\\_in\\_cooldown](#input\\_autoscaling\\_scale\\_in\\_cooldown) | Cooldown in seconds before allowing further scaling operations after a scale in | `number` | `300` | no |\n| \u003ca name=\"input_autoscaling_scale_out_cooldown\"\u003e\u003c/a\u003e [autoscaling\\_scale\\_out\\_cooldown](#input\\_autoscaling\\_scale\\_out\\_cooldown) | Cooldown in seconds before allowing further scaling operations after a scale out | `number` | `300` | no |\n| \u003ca name=\"input_autoscaling_target_connections\"\u003e\u003c/a\u003e [autoscaling\\_target\\_connections](#input\\_autoscaling\\_target\\_connections) | No of connections on which aurora has to scale if predefined\\_metric\\_type is RDSReaderAverageDatabaseConnections | `number` | `50` | no |\n| \u003ca name=\"input_backup_retention_period\"\u003e\u003c/a\u003e [backup\\_retention\\_period](#input\\_backup\\_retention\\_period) | The number of days to retain backups for | `number` | `null` | no |\n| \u003ca name=\"input_bucket_provider_type\"\u003e\u003c/a\u003e [bucket\\_provider\\_type](#input\\_bucket\\_provider\\_type) | Choose what type of provider you want (s3, gcs) | `string` | `\"s3\"` | no |\n| \u003ca name=\"input_cluster_name\"\u003e\u003c/a\u003e [cluster\\_name](#input\\_cluster\\_name) | Specifies the name of the EKS cluster to deploy the MySQL application on. | `string` | `\"\"` | no |\n| \u003ca name=\"input_create_monitoring_role\"\u003e\u003c/a\u003e [create\\_monitoring\\_role](#input\\_create\\_monitoring\\_role) | Set it to true to create IAM role for Enhanced monitoring. | `bool` | `false` | no |\n| \u003ca name=\"input_create_namespace\"\u003e\u003c/a\u003e [create\\_namespace](#input\\_create\\_namespace) | Specify whether or not to create the namespace if it does not already exist. Set it to true to create the namespace. | `string` | `false` | no |\n| \u003ca name=\"input_create_random_password\"\u003e\u003c/a\u003e [create\\_random\\_password](#input\\_create\\_random\\_password) | Whether to create a random password for the primary database cluster | `bool` | `true` | no |\n| \u003ca name=\"input_create_security_group\"\u003e\u003c/a\u003e [create\\_security\\_group](#input\\_create\\_security\\_group) | Whether to create a security group or not | `bool` | `true` | no |\n| \u003ca name=\"input_database_name\"\u003e\u003c/a\u003e [database\\_name](#input\\_database\\_name) | The name for an automatically created database on cluster creation | `string` | `\"\"` | no |\n| \u003ca name=\"input_db_backup_config\"\u003e\u003c/a\u003e [db\\_backup\\_config](#input\\_db\\_backup\\_config) | configuration options for MySQL database backups. It includes properties such as the S3 bucket URI, the S3 bucket region, and the cron expression for full backups. | `map(string)` | \u003cpre\u003e{\u003cbr/\u003e  \"bucket_uri\": \"\",\u003cbr/\u003e  \"cron_for_full_backup\": \"\",\u003cbr/\u003e  \"mysql_database_name\": \"\"\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_db_backup_enabled\"\u003e\u003c/a\u003e [db\\_backup\\_enabled](#input\\_db\\_backup\\_enabled) | Specifies whether to enable backups for MySQL database. | `bool` | `false` | no |\n| \u003ca name=\"input_db_restore_config\"\u003e\u003c/a\u003e [db\\_restore\\_config](#input\\_db\\_restore\\_config) | Configuration options for restoring dump to the MySQL database. | `any` | \u003cpre\u003e{\u003cbr/\u003e  \"bucket_uri\": \"\",\u003cbr/\u003e  \"file_name\": \"\"\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_db_restore_enabled\"\u003e\u003c/a\u003e [db\\_restore\\_enabled](#input\\_db\\_restore\\_enabled) | Specifies whether to enable restoring dump to the MySQL database. | `bool` | `false` | no |\n| \u003ca name=\"input_deletion_protection\"\u003e\u003c/a\u003e [deletion\\_protection](#input\\_deletion\\_protection) | Whether accidental deletion protection is enabled | `bool` | `true` | no |\n| \u003ca name=\"input_enable_egress\"\u003e\u003c/a\u003e [enable\\_egress](#input\\_enable\\_egress) | Set it true if allow outbound traffic in rds security group | `bool` | `true` | no |\n| \u003ca name=\"input_enable_http_endpoint\"\u003e\u003c/a\u003e [enable\\_http\\_endpoint](#input\\_enable\\_http\\_endpoint) | Whether or not to enable the Data API for a serverless Aurora database engine | `bool` | `false` | no |\n| \u003ca name=\"input_enable_ssl_connection\"\u003e\u003c/a\u003e [enable\\_ssl\\_connection](#input\\_enable\\_ssl\\_connection) | Whether or not to enable the ssl connection | `bool` | `false` | no |\n| \u003ca name=\"input_engine\"\u003e\u003c/a\u003e [engine](#input\\_engine) | The name of the database engine to be used for this DB cluster | `string` | `\"aurora\"` | no |\n| \u003ca name=\"input_engine_mode\"\u003e\u003c/a\u003e [engine\\_mode](#input\\_engine\\_mode) | The database engine mode. Valid values: global, parallelquery, provisioned, serverless, multimaster | `string` | `\"provisioned\"` | no |\n| \u003ca name=\"input_engine_version\"\u003e\u003c/a\u003e [engine\\_version](#input\\_engine\\_version) | The database engine version. Updating this argument results in an outage. | `string` | `\"\"` | no |\n| \u003ca name=\"input_environment\"\u003e\u003c/a\u003e [environment](#input\\_environment) | Select enviroment type: dev, demo, prod | `string` | `\"demo\"` | no |\n| \u003ca name=\"input_external_id\"\u003e\u003c/a\u003e [external\\_id](#input\\_external\\_id) | External ID for assuming role. | `string` | `\"\"` | no |\n| \u003ca name=\"input_family\"\u003e\u003c/a\u003e [family](#input\\_family) | Version of aurora DB family being created | `string` | `\"aurora-mysql5.7\"` | no |\n| \u003ca name=\"input_final_snapshot_identifier_prefix\"\u003e\u003c/a\u003e [final\\_snapshot\\_identifier\\_prefix](#input\\_final\\_snapshot\\_identifier\\_prefix) | The prefix name to use when creating a final snapshot on cluster destroy, appends a random 8 digits to name to ensure it's unique too. | `string` | `\"final\"` | no |\n| \u003ca name=\"input_global_cluster_enable\"\u003e\u003c/a\u003e [global\\_cluster\\_enable](#input\\_global\\_cluster\\_enable) | Whether enable global cluster then set it to true | `bool` | `false` | no |\n| \u003ca name=\"input_global_cluster_identifier\"\u003e\u003c/a\u003e [global\\_cluster\\_identifier](#input\\_global\\_cluster\\_identifier) | Global RDS Cluster Identifier name | `string` | `null` | no |\n| \u003ca name=\"input_iam_database_authentication_enabled\"\u003e\u003c/a\u003e [iam\\_database\\_authentication\\_enabled](#input\\_iam\\_database\\_authentication\\_enabled) | Specifies whether or mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled | `bool` | `null` | no |\n| \u003ca name=\"input_instance_type\"\u003e\u003c/a\u003e [instance\\_type](#input\\_instance\\_type) | Instance type | `string` | `\"db.m5.large\"` | no |\n| \u003ca name=\"input_instances_config\"\u003e\u003c/a\u003e [instances\\_config](#input\\_instances\\_config) | Map of cluster instances and any specific/overriding attributes to be created | `map(any)` | \u003cpre\u003e{\u003cbr/\u003e  \"one\": {}\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_kms_key_arn\"\u003e\u003c/a\u003e [kms\\_key\\_arn](#input\\_kms\\_key\\_arn) | The ARN for the KMS encryption key. If creating an encrypted replica, set this to the destination KMS ARN.  If storage\\_encrypted is set to true and kms\\_key\\_id is not specified the default KMS key created in your account will be used | `string` | `null` | no |\n| \u003ca name=\"input_long_query_time\"\u003e\u003c/a\u003e [long\\_query\\_time](#input\\_long\\_query\\_time) | To prevent fast-running queries from being logged in the slow query log, specify a value for the shortest query runtime to be logged, in seconds | `number` | `10` | no |\n| \u003ca name=\"input_manage_master_user_password\"\u003e\u003c/a\u003e [manage\\_master\\_user\\_password](#input\\_manage\\_master\\_user\\_password) | Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if `master_password` is provided | `bool` | `false` | no |\n| \u003ca name=\"input_master_password\"\u003e\u003c/a\u003e [master\\_password](#input\\_master\\_password) | The password for the primary cluster | `string` | `null` | no |\n| \u003ca name=\"input_master_username\"\u003e\u003c/a\u003e [master\\_username](#input\\_master\\_username) | The username for the primary cluster | `string` | `\"root\"` | no |\n| \u003ca name=\"input_monitoring_interval\"\u003e\u003c/a\u003e [monitoring\\_interval](#input\\_monitoring\\_interval) | The interval, in seconds, between points when Enhanced Monitoring metrics are collected for instances. Set to 0 to disble. Default is 0 | `number` | `0` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of the RDS instance | `string` | `\"\"` | no |\n| \u003ca name=\"input_namespace\"\u003e\u003c/a\u003e [namespace](#input\\_namespace) | Name of the Kubernetes namespace where the MYSQL deployment will be deployed. | `string` | `\"db\"` | no |\n| \u003ca name=\"input_performance_insights_enabled\"\u003e\u003c/a\u003e [performance\\_insights\\_enabled](#input\\_performance\\_insights\\_enabled) | Specifies whether Performance Insights is enabled or not | `bool` | `null` | no |\n| \u003ca name=\"input_performance_insights_kms_key_id\"\u003e\u003c/a\u003e [performance\\_insights\\_kms\\_key\\_id](#input\\_performance\\_insights\\_kms\\_key\\_id) | ARN of KMS key to encrypt performance insights data. | `string` | `null` | no |\n| \u003ca name=\"input_performance_insights_retention_period\"\u003e\u003c/a\u003e [performance\\_insights\\_retention\\_period](#input\\_performance\\_insights\\_retention\\_period) | Retention period for performance insights data, Either 7 (7 days) or 731 (2 years). | `number` | `null` | no |\n| \u003ca name=\"input_port\"\u003e\u003c/a\u003e [port](#input\\_port) | The port for the database | `number` | `3306` | no |\n| \u003ca name=\"input_predefined_metric_type\"\u003e\u003c/a\u003e [predefined\\_metric\\_type](#input\\_predefined\\_metric\\_type) | The metric type to scale on. Valid values are RDSReaderAverageCPUUtilization and RDSReaderAverageDatabaseConnections | `string` | `\"RDSReaderAverageDatabaseConnections\"` | no |\n| \u003ca name=\"input_preferred_backup_window\"\u003e\u003c/a\u003e [preferred\\_backup\\_window](#input\\_preferred\\_backup\\_window) | The maintenance window for performing database backup | `string` | `\"\"` | no |\n| \u003ca name=\"input_preferred_maintenance_window\"\u003e\u003c/a\u003e [preferred\\_maintenance\\_window](#input\\_preferred\\_maintenance\\_window) | The maintenance window for performing database maintenance | `string` | `\"\"` | no |\n| \u003ca name=\"input_publicly_accessible\"\u003e\u003c/a\u003e [publicly\\_accessible](#input\\_publicly\\_accessible) | Specifies whether the database is publicly accessible over the internet | `bool` | `false` | no |\n| \u003ca name=\"input_random_password_length\"\u003e\u003c/a\u003e [random\\_password\\_length](#input\\_random\\_password\\_length) | The length of the randomly generated password. (default: 10) | `number` | `16` | no |\n| \u003ca name=\"input_rds_instance_name\"\u003e\u003c/a\u003e [rds\\_instance\\_name](#input\\_rds\\_instance\\_name) | The name of the RDS instance | `string` | `\"\"` | no |\n| \u003ca name=\"input_region\"\u003e\u003c/a\u003e [region](#input\\_region) | AWS region name where the primary RDS resources will be deployed | `string` | `null` | no |\n| \u003ca name=\"input_role_arn\"\u003e\u003c/a\u003e [role\\_arn](#input\\_role\\_arn) | The ARN of the role to assume. Leave empty if not using assume role. | `string` | `\"\"` | no |\n| \u003ca name=\"input_scaling_configuration\"\u003e\u003c/a\u003e [scaling\\_configuration](#input\\_scaling\\_configuration) | Map of nested attributes with scaling properties. Only valid when engine\\_mode is set to `serverless` | `map(string)` | `{}` | no |\n| \u003ca name=\"input_secondary_kms_key_arn\"\u003e\u003c/a\u003e [secondary\\_kms\\_key\\_arn](#input\\_secondary\\_kms\\_key\\_arn) | The ARN for the secondary region KMS encryption key. If creating an encrypted replica, set this to the destination KMS ARN.  If storage\\_encrypted is set to true and kms\\_key\\_id is not specified the default KMS key created in your account will be used | `string` | `null` | no |\n| \u003ca name=\"input_secondary_region\"\u003e\u003c/a\u003e [secondary\\_region](#input\\_secondary\\_region) | Secondary AWS region name where the Secondary RDS and VPC resources will be deployed | `string` | `null` | no |\n| \u003ca name=\"input_secondary_subnets\"\u003e\u003c/a\u003e [secondary\\_subnets](#input\\_secondary\\_subnets) | List of subnet IDs used by database subnet group created in secondary region | `list(string)` | `[]` | no |\n| \u003ca name=\"input_secondary_vpc_allowed_cidr_blocks\"\u003e\u003c/a\u003e [secondary\\_vpc\\_allowed\\_cidr\\_blocks](#input\\_secondary\\_vpc\\_allowed\\_cidr\\_blocks) | A list of CIDR blocks which are allowed to access the database | `any` | `[]` | no |\n| \u003ca name=\"input_secondary_vpc_allowed_security_groups\"\u003e\u003c/a\u003e [secondary\\_vpc\\_allowed\\_security\\_groups](#input\\_secondary\\_vpc\\_allowed\\_security\\_groups) | A list of Security Group IDs to allow access to the database | `any` | `[]` | no |\n| \u003ca name=\"input_secondary_vpc_id\"\u003e\u003c/a\u003e [secondary\\_vpc\\_id](#input\\_secondary\\_vpc\\_id) | The secondary VPC in which secondary RDS will be launched | `string` | `\"\"` | no |\n| \u003ca name=\"input_security_group_description\"\u003e\u003c/a\u003e [security\\_group\\_description](#input\\_security\\_group\\_description) | The description of the security group. If value is set to empty string it will contain cluster name in the description | `string` | `\"RDS Aurora SG managed by Terraform\"` | no |\n| \u003ca name=\"input_security_group_rules\"\u003e\u003c/a\u003e [security\\_group\\_rules](#input\\_security\\_group\\_rules) | Map of security group rules to add to the cluster security group created | `any` | `{}` | no |\n| \u003ca name=\"input_serverlessv2_scaling_configuration\"\u003e\u003c/a\u003e [serverlessv2\\_scaling\\_configuration](#input\\_serverlessv2\\_scaling\\_configuration) | Map of nested attributes with serverless v2 scaling properties. Only valid when engine\\_mode is set to provisioned | `map(string)` | `{}` | no |\n| \u003ca name=\"input_skip_final_snapshot\"\u003e\u003c/a\u003e [skip\\_final\\_snapshot](#input\\_skip\\_final\\_snapshot) | Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted, using the value from final\\_snapshot\\_identifier | `bool` | `true` | no |\n| \u003ca name=\"input_snapshot_identifier\"\u003e\u003c/a\u003e [snapshot\\_identifier](#input\\_snapshot\\_identifier) | DB snapshot to create this database from | `string` | `\"\"` | no |\n| \u003ca name=\"input_storage_encrypted\"\u003e\u003c/a\u003e [storage\\_encrypted](#input\\_storage\\_encrypted) | Allow Database encryption or not | `bool` | `true` | no |\n| \u003ca name=\"input_subnets\"\u003e\u003c/a\u003e [subnets](#input\\_subnets) | List of subnet IDs used by database subnet group created | `list(string)` | `[]` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | In which VPC do you want to deploy the RDS cluster | `string` | `\"\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_rds_cluster_database_name\"\u003e\u003c/a\u003e [rds\\_cluster\\_database\\_name](#output\\_rds\\_cluster\\_database\\_name) | Name for an automatically created database on cluster creation |\n| \u003ca name=\"output_rds_cluster_endpoint\"\u003e\u003c/a\u003e [rds\\_cluster\\_endpoint](#output\\_rds\\_cluster\\_endpoint) | The endpoint URL of the Aurora cluster |\n| \u003ca name=\"output_rds_cluster_master_password\"\u003e\u003c/a\u003e [rds\\_cluster\\_master\\_password](#output\\_rds\\_cluster\\_master\\_password) | The master password for the Aurora cluster |\n| \u003ca name=\"output_rds_cluster_master_username\"\u003e\u003c/a\u003e [rds\\_cluster\\_master\\_username](#output\\_rds\\_cluster\\_master\\_username) | The master username for the Aurora cluster |\n| \u003ca name=\"output_rds_cluster_reader_endpoint\"\u003e\u003c/a\u003e [rds\\_cluster\\_reader\\_endpoint](#output\\_rds\\_cluster\\_reader\\_endpoint) | The reader endpoint URL of the Aurora cluster |\n| \u003ca name=\"output_secondary_rds_cluster_endpoint\"\u003e\u003c/a\u003e [secondary\\_rds\\_cluster\\_endpoint](#output\\_secondary\\_rds\\_cluster\\_endpoint) | The endpoint URL of the Aurora cluster secondary instance |\n| \u003ca name=\"output_secondary_rds_cluster_reader_endpoint\"\u003e\u003c/a\u003e [secondary\\_rds\\_cluster\\_reader\\_endpoint](#output\\_secondary\\_rds\\_cluster\\_reader\\_endpoint) | A read-only endpoint for the cluster, automatically load-balanced across replicas |\n| \u003ca name=\"output_security_group_id\"\u003e\u003c/a\u003e [security\\_group\\_id](#output\\_security\\_group\\_id) | The security group ID associated with the Aurora cluster |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n\n## Contribute \u0026 Issue Report\n\nTo report an issue with a project:\n\n  1. Check the repository's [issue tracker](https://github.com/sq-ia/terraform-aws-rds-aurora/issues) on GitHub\n  2. Search to check if the issue has already been reported\n  3. If you can't find an answer to your question in the documentation or issue tracker, you can ask a question by creating a new issue. Make sure to provide enough context and details.\n\n## License\n\nApache License, Version 2.0, January 2004 (https://www.apache.org/licenses/LICENSE-2.0)\n\n## Support Us\n\nTo support our GitHub project by liking it, you can follow these steps:\n\n  1. Visit the repository: Navigate to the [GitHub repository](https://github.com/sq-ia/terraform-aws-rds-aurora)\n\n  2. Click the \"Star\" button: On the repository page, you'll see a \"Star\" button in the upper right corner. Clicking on it will star the repository, indicating your support for the project.\n\n  3. Optionally, you can also leave a comment on the repository or open an issue to give feedback or suggest changes.\n\nStaring a repository on GitHub is a simple way to show your support and appreciation for the project. It also helps to increase the visibility of the project and make it more discoverable to others.\n\n## Who we are\n\nWe believe that the key to success in the digital age is the ability to deliver value quickly and reliably. That’s why we offer a comprehensive range of DevOps \u0026 Cloud services designed to help your organization optimize its systems \u0026 Processes for speed and agility.\n\n  1. We are an AWS Advanced consulting partner which reflects our deep expertise in AWS Cloud and helping 100+ clients over the last 5 years.\n  2. Expertise in Kubernetes and overall container solution helps companies expedite their journey by 10X.\n  3. Infrastructure Automation is a key component to the success of our Clients and our Expertise helps deliver the same in the shortest time.\n  4. DevSecOps as a service to implement security within the overall DevOps process and helping companies deploy securely and at speed.\n  5. Platform engineering which supports scalable,Cost efficient infrastructure that supports rapid development, testing, and deployment.\n  6. 24*7 SRE service to help you Monitor the state of your infrastructure and eradicate any issue within the SLA.\n\nWe provide [support](https://squareops.com/contact-us/) on all of our projects, no matter how small or large they may be.\n\nTo find more information about our company, visit [squareops.com](https://squareops.com/), follow us on [Linkedin](https://www.linkedin.com/company/squareops-technologies-pvt-ltd/), or fill out a [job application](https://squareops.com/careers/). If you have any questions or would like assistance with your cloud strategy and implementation, please don't hesitate to [contact us](https://squareops.com/contact-us/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareops%2Fterraform-aws-rds-aurora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquareops%2Fterraform-aws-rds-aurora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareops%2Fterraform-aws-rds-aurora/lists"}