{"id":14957833,"url":"https://github.com/dasmeta/terraform-aws-documentdb","last_synced_at":"2026-01-20T05:07:35.711Z","repository":{"id":249964753,"uuid":"833086074","full_name":"dasmeta/terraform-aws-documentdb","owner":"dasmeta","description":"Terraform modules from DasMeta to manage AWS DocumentDB","archived":false,"fork":false,"pushed_at":"2024-10-03T19:28:18.000Z","size":43,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T12:39:19.572Z","etag":null,"topics":["aws","cloud","documentdb","module","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"www.dasmeta.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/dasmeta.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}},"created_at":"2024-07-24T10:21:56.000Z","updated_at":"2024-07-24T13:23:26.000Z","dependencies_parsed_at":"2024-10-10T07:01:58.336Z","dependency_job_id":"c80f8bf5-4fb8-430b-b7f8-792615ac5e87","html_url":"https://github.com/dasmeta/terraform-aws-documentdb","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":"0.23809523809523814","last_synced_commit":"2360776c2010f0f24ed5ab198cc01592fa5098ab"},"previous_names":["dasmeta/terraform-aws-documentdb"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dasmeta/terraform-aws-documentdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasmeta%2Fterraform-aws-documentdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasmeta%2Fterraform-aws-documentdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasmeta%2Fterraform-aws-documentdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasmeta%2Fterraform-aws-documentdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dasmeta","download_url":"https://codeload.github.com/dasmeta/terraform-aws-documentdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasmeta%2Fterraform-aws-documentdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28596087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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":["aws","cloud","documentdb","module","terraform","terraform-module"],"created_at":"2024-09-24T13:15:41.259Z","updated_at":"2026-01-20T05:07:35.689Z","avatar_url":"https://github.com/dasmeta.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-documentdb\nTerraform modules from DasMeta to manage AWS DocumentDB\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\nNo requirements.\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | n/a |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_alerts\"\u003e\u003c/a\u003e [alerts](#module\\_alerts) | ./modules/alarms/ | n/a |\n| \u003ca name=\"module_documentdb_cluster\"\u003e\u003c/a\u003e [documentdb\\_cluster](#module\\_documentdb\\_cluster) | cloudposse/documentdb-cluster/aws | 0.26.0 |\n| \u003ca name=\"module_subnets\"\u003e\u003c/a\u003e [subnets](#module\\_subnets) | cloudposse/dynamic-subnets/aws | 2.4.2 |\n| \u003ca name=\"module_vpc\"\u003e\u003c/a\u003e [vpc](#module\\_vpc) | cloudposse/vpc/aws | 2.1.1 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_alarms\"\u003e\u003c/a\u003e [alarms](#input\\_alarms) | n/a | \u003cpre\u003eobject({\u003cbr\u003e    enabled       = optional(bool, true)\u003cbr\u003e    sns_topic     = string\u003cbr\u003e    custom_values = optional(any, {})\u003cbr\u003e  })\u003c/pre\u003e | n/a | yes |\n| \u003ca name=\"input_allowed_cidr_blocks\"\u003e\u003c/a\u003e [allowed\\_cidr\\_blocks](#input\\_allowed\\_cidr\\_blocks) | List of CIDR blocks to be allowed to connect to the DocumentDB cluster | `list(string)` | `[]` | no |\n| \u003ca name=\"input_allowed_security_groups\"\u003e\u003c/a\u003e [allowed\\_security\\_groups](#input\\_allowed\\_security\\_groups) | List of existing Security Groups to be allowed to connect to the DocumentDB cluster | `list(string)` | `[]` | 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` | `true` | no |\n| \u003ca name=\"input_auto_minor_version_upgrade\"\u003e\u003c/a\u003e [auto\\_minor\\_version\\_upgrade](#input\\_auto\\_minor\\_version\\_upgrade) | Specifies whether any minor engine upgrades will be applied automatically to the DB instance during the maintenance window or not | `bool` | `true` | no |\n| \u003ca name=\"input_cluster_dns_name\"\u003e\u003c/a\u003e [cluster\\_dns\\_name](#input\\_cluster\\_dns\\_name) | Name of the cluster CNAME record to create in the parent DNS zone specified by `zone_id`. If left empty, the name will be auto-asigned using the format `master.var.name` | `string` | `\"\"` | no |\n| \u003ca name=\"input_cluster_family\"\u003e\u003c/a\u003e [cluster\\_family](#input\\_cluster\\_family) | The family of the DocumentDB cluster parameter group. For more details, see https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-parameter-group-create.html | `string` | `\"docdb5.0\"` | no |\n| \u003ca name=\"input_cluster_parameters\"\u003e\u003c/a\u003e [cluster\\_parameters](#input\\_cluster\\_parameters) | List of DB parameters to apply | \u003cpre\u003elist(object({\u003cbr\u003e    apply_method = string\u003cbr\u003e    name         = string\u003cbr\u003e    value        = string\u003cbr\u003e  }))\u003c/pre\u003e | `[]` | no |\n| \u003ca name=\"input_cluster_size\"\u003e\u003c/a\u003e [cluster\\_size](#input\\_cluster\\_size) | Number of DB instances to create in the cluster | `number` | `2` | no |\n| \u003ca name=\"input_db_port\"\u003e\u003c/a\u003e [db\\_port](#input\\_db\\_port) | DocumentDB port | `number` | `27017` | no |\n| \u003ca name=\"input_enabled_cloudwatch_logs_exports\"\u003e\u003c/a\u003e [enabled\\_cloudwatch\\_logs\\_exports](#input\\_enabled\\_cloudwatch\\_logs\\_exports) | List of log types to export to cloudwatch. The following log types are supported: `audit`, `profiler` | `list(string)` | `[]` | 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. Defaults to `docdb`. Valid values: `docdb` | `string` | `\"docdb\"` | no |\n| \u003ca name=\"input_engine_version\"\u003e\u003c/a\u003e [engine\\_version](#input\\_engine\\_version) | The version number of the database engine to use | `string` | `\"5.0.0\"` | no |\n| \u003ca name=\"input_instance_class\"\u003e\u003c/a\u003e [instance\\_class](#input\\_instance\\_class) | The instance class to use. For more details, see https://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specs | `string` | `\"db.r6g.large\"` | no |\n| \u003ca name=\"input_kms_key_id\"\u003e\u003c/a\u003e [kms\\_key\\_id](#input\\_kms\\_key\\_id) | The ARN for the KMS encryption key. When specifying `kms_key_id`, `storage_encrypted` needs to be set to `true` | `string` | `\"\"` | no |\n| \u003ca name=\"input_master_password\"\u003e\u003c/a\u003e [master\\_password](#input\\_master\\_password) | (Required unless a snapshot\\_identifier is provided) Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Please refer to the DocumentDB Naming Constraints | `string` | `\"\"` | no |\n| \u003ca name=\"input_master_username\"\u003e\u003c/a\u003e [master\\_username](#input\\_master\\_username) | (Required unless a snapshot\\_identifier is provided) Username for the master DB user | `string` | `\"admin1\"` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'.\u003cbr\u003eThis is the only ID element not also included as a `tag`.\u003cbr\u003eThe \"name\" tag is set to the full `id` string. There is no tag with the value of the `name` input. | `string` | `\"documentdb-cluster\"` | no |\n| \u003ca name=\"input_preferred_backup_window\"\u003e\u003c/a\u003e [preferred\\_backup\\_window](#input\\_preferred\\_backup\\_window) | Daily time range during which the backups happen | `string` | `\"07:00-09:00\"` | no |\n| \u003ca name=\"input_preferred_maintenance_window\"\u003e\u003c/a\u003e [preferred\\_maintenance\\_window](#input\\_preferred\\_maintenance\\_window) | The window to perform maintenance in. Syntax: `ddd:hh24:mi-ddd:hh24:mi`. | `string` | `\"Mon:22:00-Mon:23:00\"` | no |\n| \u003ca name=\"input_reader_dns_name\"\u003e\u003c/a\u003e [reader\\_dns\\_name](#input\\_reader\\_dns\\_name) | Name of the reader endpoint CNAME record to create in the parent DNS zone specified by `zone_id`. If left empty, the name will be auto-asigned using the format `replicas.var.name` | `string` | `\"\"` | no |\n| \u003ca name=\"input_region\"\u003e\u003c/a\u003e [region](#input\\_region) | AWS Region for S3 bucket | `string` | `\"eu-central-1\"` | no |\n| \u003ca name=\"input_retention_period\"\u003e\u003c/a\u003e [retention\\_period](#input\\_retention\\_period) | Number of days to retain backups for | `number` | `5` | 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 cluster is deleted | `bool` | `true` | no |\n| \u003ca name=\"input_snapshot_identifier\"\u003e\u003c/a\u003e [snapshot\\_identifier](#input\\_snapshot\\_identifier) | Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot | `string` | `\"\"` | no |\n| \u003ca name=\"input_ssm_parameter_enabled\"\u003e\u003c/a\u003e [ssm\\_parameter\\_enabled](#input\\_ssm\\_parameter\\_enabled) | Whether an SSM parameter store value is created to store the database password. | `bool` | `false` | no |\n| \u003ca name=\"input_storage_encrypted\"\u003e\u003c/a\u003e [storage\\_encrypted](#input\\_storage\\_encrypted) | Specifies whether the DB cluster is encrypted | `bool` | `true` | no |\n| \u003ca name=\"input_vpc_cidr_block\"\u003e\u003c/a\u003e [vpc\\_cidr\\_block](#input\\_vpc\\_cidr\\_block) | VPC CIDR block | `string` | `\"10.0.0.0/16\"` | no |\n| \u003ca name=\"input_zone_id\"\u003e\u003c/a\u003e [zone\\_id](#input\\_zone\\_id) | Route53 parent zone ID. If provided (not empty), the module will create sub-domain DNS records for the DocumentDB master and replicas | `string` | `\"\"` | no |\n\n## Outputs\n\nNo outputs.\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasmeta%2Fterraform-aws-documentdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdasmeta%2Fterraform-aws-documentdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasmeta%2Fterraform-aws-documentdb/lists"}