{"id":21401029,"url":"https://github.com/massdriver-cloud/azure-cosmosdb-mongo","last_synced_at":"2026-01-03T15:03:25.032Z","repository":{"id":104128136,"uuid":"511241699","full_name":"massdriver-cloud/azure-cosmosdb-mongo","owner":"massdriver-cloud","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-12T19:16:33.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-23T03:13:35.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://massdriver.cloud","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/massdriver-cloud.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-06T17:59:29.000Z","updated_at":"2024-09-12T19:16:35.000Z","dependencies_parsed_at":"2024-04-08T19:35:29.023Z","dependency_job_id":"a0626ee6-8d97-457e-84cd-223e03a7d682","html_url":"https://github.com/massdriver-cloud/azure-cosmosdb-mongo","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fazure-cosmosdb-mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fazure-cosmosdb-mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fazure-cosmosdb-mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fazure-cosmosdb-mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/massdriver-cloud","download_url":"https://codeload.github.com/massdriver-cloud/azure-cosmosdb-mongo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893859,"owners_count":20364918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-22T15:25:45.438Z","updated_at":"2026-01-03T15:03:24.877Z","avatar_url":"https://github.com/massdriver-cloud.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Massdriver][logo]][website]\n\n# azure-cosmosdb-mongo\n\n[![Release][release_shield]][release_url]\n[![Contributors][contributors_shield]][contributors_url]\n[![Forks][forks_shield]][forks_url]\n[![Stargazers][stars_shield]][stars_url]\n[![Issues][issues_shield]][issues_url]\n[![MIT License][license_shield]][license_url]\n\n\nAzure Cosmos MongoDB is a fully managed, serverless NoSQL database for high-performance applications of any size or scale using the MongoDB API.\n\n\n---\n\n## Design\n\nFor detailed information, check out our [Operator Guide](operator.md) for this bundle.\n\n## Usage\n\nOur bundles aren't intended to be used locally, outside of testing. Instead, our bundles are designed to be configured, connected, deployed and monitored in the [Massdriver][website] platform.\n\n### What are Bundles?\n\nBundles are the basic building blocks of infrastructure, applications, and architectures in [Massdriver][website]. Read more [here](https://docs.massdriver.cloud/concepts/bundles).\n\n## Bundle\n\n### Params\n\nForm input parameters for configuring a bundle for deployment.\n\n\u003cdetails\u003e\n\u003csummary\u003eView\u003c/summary\u003e\n\n\u003c!-- PARAMS:START --\u003e\n## Properties\n\n- **`backups`** *(object)*: Enable and configure backups for your database. Backup type cannot be changed after provisioning.\n  - **`backup_type`** *(string)*: The backup type to use for the Cosmos DB account. This cannot be changed after it is set. Must be one of: `['None', 'Continuous', 'Periodic']`. Default: `None`.\n- **`database`** *(object)*\n  - **`consistency_level`** *(string)*: The consistency level to use for this CosmosDB Account. [Learn more](https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels).\n    - **One of**\n      - Strong (highest consistency, highest latency, lower throughput)\n      - Bounded Staleness (consistency, latency, and throughput varies)\n      - Eventual (lowest consistency, lowest latency, high throughput)\n  - **`mongo_server_version`** *(string)*: The server version of the MongoDB account. Must be one of: `['4.2', '4.0', '3.6']`.\n  - **`serverless`** *(boolean)*: Default: `False`.\n  - **`total_throughput_limit`** *(integer)*: The total throughput limit imposed on this Cosmos DB account in RU/s (-1 means no limit). Minimum: `-1`. Maximum: `10000000000000000`.\n- **`geo_redundancy`** *(object)*\n  - **`additional_regions`** *(array)*: Default: `[]`.\n    - **Items** *(object)*: Configuration of a failover region region.\n      - **`failover_priority`** *(integer)*: The failover priority of the region. The lower the value, the higher the priority is. Minimum value is 2, maximum value is 100. Minimum: `2`. Maximum: `100`.\n      - **`location`** *(string)*: The Azure region to host replicated data.\n  - **`automatic_failover`** *(boolean)*: Default: `False`.\n  - **`multi_region_writes`** *(boolean)*: Default: `False`.\n- **`monitoring`** *(object)*\n  - **`mode`** *(string)*: Enable and customize Function App metric alarms. Default: `AUTOMATED`.\n    - **One of**\n      - Automated\n      - Custom\n      - Disabled\n- **`network`** *(object)*\n  - **`auto`** *(boolean)*: Enabling this will automatically select an available CIDR range for your database. Unchecking will require you to specify the CIDR. Default: `True`.\n## Examples\n\n  ```json\n  {\n      \"__name\": \"Development\",\n      \"backups\": {\n          \"backup_type\": \"None\"\n      },\n      \"database\": {\n          \"mongo_server_version\": \"4.2\",\n          \"serverless\": true,\n          \"total_throughput_limit\": 100000\n      }\n  }\n  ```\n\n  ```json\n  {\n      \"__name\": \"Production\",\n      \"backups\": {\n          \"backup_type\": \"Continuous\"\n      },\n      \"database\": {\n          \"mongo_server_version\": \"4.2\",\n          \"serverless\": false,\n          \"total_throughput_limit\": -1\n      },\n      \"geo_redundancy\": {\n          \"automatic_failover\": true\n      }\n  }\n  ```\n\n\u003c!-- PARAMS:END --\u003e\n\n\u003c/details\u003e\n\n### Connections\n\nConnections from other bundles that this bundle depends on.\n\n\u003cdetails\u003e\n\u003csummary\u003eView\u003c/summary\u003e\n\n\u003c!-- CONNECTIONS:START --\u003e\n## Properties\n\n- **`azure_service_principal`** *(object)*: . Cannot contain additional properties.\n  - **`data`** *(object)*\n    - **`client_id`** *(string)*: A valid UUID field.\n\n      Examples:\n      ```json\n      \"123xyz99-ab34-56cd-e7f8-456abc1q2w3e\"\n      ```\n\n    - **`client_secret`** *(string)*\n    - **`subscription_id`** *(string)*: A valid UUID field.\n\n      Examples:\n      ```json\n      \"123xyz99-ab34-56cd-e7f8-456abc1q2w3e\"\n      ```\n\n    - **`tenant_id`** *(string)*: A valid UUID field.\n\n      Examples:\n      ```json\n      \"123xyz99-ab34-56cd-e7f8-456abc1q2w3e\"\n      ```\n\n  - **`specs`** *(object)*\n- **`azure_virtual_network`** *(object)*: . Cannot contain additional properties.\n  - **`data`** *(object)*\n    - **`infrastructure`** *(object)*\n      - **`cidr`** *(string)*\n\n        Examples:\n        ```json\n        \"10.100.0.0/16\"\n        ```\n\n        ```json\n        \"192.24.12.0/22\"\n        ```\n\n      - **`default_subnet_id`** *(string)*: Azure Resource ID.\n\n        Examples:\n        ```json\n        \"/subscriptions/12345678-1234-1234-abcd-1234567890ab/resourceGroups/resource-group-name/providers/Microsoft.Network/virtualNetworks/network-name\"\n        ```\n\n      - **`id`** *(string)*: Azure Resource ID.\n\n        Examples:\n        ```json\n        \"/subscriptions/12345678-1234-1234-abcd-1234567890ab/resourceGroups/resource-group-name/providers/Microsoft.Network/virtualNetworks/network-name\"\n        ```\n\n  - **`specs`** *(object)*\n    - **`azure`** *(object)*: .\n      - **`region`** *(string)*: Select the Azure region you'd like to provision your resources in.\n\u003c!-- CONNECTIONS:END --\u003e\n\n\u003c/details\u003e\n\n### Artifacts\n\nResources created by this bundle that can be connected to other bundles.\n\n\u003cdetails\u003e\n\u003csummary\u003eView\u003c/summary\u003e\n\n\u003c!-- ARTIFACTS:START --\u003e\n## Properties\n\n- **`mongo_authentication`** *(object)*: mongo cluster authentication and cloud-specific configuration. Cannot contain additional properties.\n  - **`data`** *(object)*\n    - **`authentication`**: Mongo connection string. Cannot contain additional properties.\n      - **`hostname`** *(string)*\n      - **`password`** *(string)*\n      - **`port`** *(integer)*: Port number. Minimum: `0`. Maximum: `65535`.\n      - **`username`** *(string)*\n    - **`infrastructure`** *(object)*: Mongo cluster infrastructure configuration.\n      - **One of**\n        - Kuberenetes infrastructure config*object*: . Cannot contain additional properties.\n          - **`kubernetes_namespace`** *(string)*\n          - **`kubernetes_service`** *(string)*\n        - Azure Infrastructure Resource ID*object*: Minimal Azure Infrastructure Config. Cannot contain additional properties.\n          - **`ari`** *(string)*: Azure Resource ID.\n\n            Examples:\n            ```json\n            \"/subscriptions/12345678-1234-1234-abcd-1234567890ab/resourceGroups/resource-group-name/providers/Microsoft.Network/virtualNetworks/network-name\"\n            ```\n\n        - MongoDB Atlas Cluster Infrastructure*object*: Minimal MongoDB Atlas cluster infrastructure config. Cannot contain additional properties.\n          - **`cluster_id`** *(string)*\n          - **`project_id`** *(string)*\n  - **`specs`** *(object)*\n    - **`aws`** *(object)*: .\n      - **`region`** *(string)*: AWS Region to provision in.\n\n        Examples:\n        ```json\n        \"us-west-2\"\n        ```\n\n    - **`azure`** *(object)*: .\n      - **`region`** *(string)*: Select the Azure region you'd like to provision your resources in.\n    - **`gcp`** *(object)*: .\n      - **`project`** *(string)*\n      - **`region`** *(string)*: The GCP region to provision resources in.\n\n        Examples:\n        ```json\n        \"us-east1\"\n        ```\n\n        ```json\n        \"us-east4\"\n        ```\n\n        ```json\n        \"us-west1\"\n        ```\n\n        ```json\n        \"us-west2\"\n        ```\n\n        ```json\n        \"us-west3\"\n        ```\n\n        ```json\n        \"us-west4\"\n        ```\n\n        ```json\n        \"us-central1\"\n        ```\n\n    - **`mongo`** *(object)*: Informs downstream bundles of Mongo specific data. Cannot contain additional properties.\n      - **`version`** *(string)*: Currently deployed Mongo version.\n\u003c!-- ARTIFACTS:END --\u003e\n\n\u003c/details\u003e\n\n## Contributing\n\n\u003c!-- CONTRIBUTING:START --\u003e\n\n### Bug Reports \u0026 Feature Requests\n\nDid we miss something? Please [submit an issue](https://github.com/massdriver-cloud/azure-cosmosdb-mongo/issues) to report any bugs or request additional features.\n\n### Developing\n\n**Note**: Massdriver bundles are intended to be tightly use-case scoped, intention-based, reusable pieces of IaC for use in the [Massdriver][website] platform. For this reason, major feature additions that broaden the scope of an existing bundle are likely to be rejected by the community.\n\nStill want to get involved? First check out our [contribution guidelines](https://docs.massdriver.cloud/bundles/contributing).\n\n### Fix or Fork\n\nIf your use-case isn't covered by this bundle, you can still get involved! Massdriver is designed to be an extensible platform. Fork this bundle, or [create your own bundle from scratch](https://docs.massdriver.cloud/bundles/development)!\n\n\u003c!-- CONTRIBUTING:END --\u003e\n\n## Connect\n\n\u003c!-- CONNECT:START --\u003e\n\nQuestions? Concerns? Adulations? We'd love to hear from you!\n\nPlease connect with us!\n\n[![Email][email_shield]][email_url]\n[![GitHub][github_shield]][github_url]\n[![LinkedIn][linkedin_shield]][linkedin_url]\n[![Twitter][twitter_shield]][twitter_url]\n[![YouTube][youtube_shield]][youtube_url]\n[![Reddit][reddit_shield]][reddit_url]\n\n\u003c!-- markdownlint-disable --\u003e\n\n[logo]: https://raw.githubusercontent.com/massdriver-cloud/docs/main/static/img/logo-with-logotype-horizontal-400x110.svg\n[docs]: https://docs.massdriver.cloud/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=azure-cosmosdb-mongo\u0026utm_content=docs\n[website]: https://www.massdriver.cloud/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=azure-cosmosdb-mongo\u0026utm_content=website\n[github]: https://github.com/massdriver-cloud?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=azure-cosmosdb-mongo\u0026utm_content=github\n[slack]: https://massdriverworkspace.slack.com/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=azure-cosmosdb-mongo\u0026utm_content=slack\n[linkedin]: https://www.linkedin.com/company/massdriver/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=azure-cosmosdb-mongo\u0026utm_content=linkedin\n\n\n\n[contributors_shield]: https://img.shields.io/github/contributors/massdriver-cloud/azure-cosmosdb-mongo.svg?style=for-the-badge\n[contributors_url]: https://github.com/massdriver-cloud/azure-cosmosdb-mongo/graphs/contributors\n[forks_shield]: https://img.shields.io/github/forks/massdriver-cloud/azure-cosmosdb-mongo.svg?style=for-the-badge\n[forks_url]: https://github.com/massdriver-cloud/azure-cosmosdb-mongo/network/members\n[stars_shield]: https://img.shields.io/github/stars/massdriver-cloud/azure-cosmosdb-mongo.svg?style=for-the-badge\n[stars_url]: https://github.com/massdriver-cloud/azure-cosmosdb-mongo/stargazers\n[issues_shield]: https://img.shields.io/github/issues/massdriver-cloud/azure-cosmosdb-mongo.svg?style=for-the-badge\n[issues_url]: https://github.com/massdriver-cloud/azure-cosmosdb-mongo/issues\n[release_url]: https://github.com/massdriver-cloud/azure-cosmosdb-mongo/releases/latest\n[release_shield]: https://img.shields.io/github/release/massdriver-cloud/azure-cosmosdb-mongo.svg?style=for-the-badge\n[license_shield]: https://img.shields.io/github/license/massdriver-cloud/azure-cosmosdb-mongo.svg?style=for-the-badge\n[license_url]: https://github.com/massdriver-cloud/azure-cosmosdb-mongo/blob/main/LICENSE\n\n\n[email_url]: mailto:support@massdriver.cloud\n[email_shield]: https://img.shields.io/badge/email-Massdriver-black.svg?style=for-the-badge\u0026logo=mail.ru\u0026color=000000\n[github_url]: mailto:support@massdriver.cloud\n[github_shield]: https://img.shields.io/badge/follow-Github-black.svg?style=for-the-badge\u0026logo=github\u0026color=181717\n[linkedin_url]: https://linkedin.com/in/massdriver-cloud\n[linkedin_shield]: https://img.shields.io/badge/follow-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026color=0A66C2\n[twitter_url]: https://twitter.com/massdriver?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=azure-cosmosdb-mongo\u0026utm_content=twitter\n[twitter_shield]: https://img.shields.io/badge/follow-Twitter-black.svg?style=for-the-badge\u0026logo=twitter\u0026color=1DA1F2\n[discourse_url]: https://community.massdriver.cloud?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=azure-cosmosdb-mongo\u0026utm_content=discourse\n[discourse_shield]: https://img.shields.io/badge/join-Discourse-black.svg?style=for-the-badge\u0026logo=discourse\u0026color=000000\n[youtube_url]: https://www.youtube.com/channel/UCfj8P7MJcdlem2DJpvymtaQ\n[youtube_shield]: https://img.shields.io/badge/subscribe-Youtube-black.svg?style=for-the-badge\u0026logo=youtube\u0026color=FF0000\n[reddit_url]: https://www.reddit.com/r/massdriver\n[reddit_shield]: https://img.shields.io/badge/subscribe-Reddit-black.svg?style=for-the-badge\u0026logo=reddit\u0026color=FF4500\n\n\u003c!-- markdownlint-restore --\u003e\n\n\u003c!-- CONNECT:END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassdriver-cloud%2Fazure-cosmosdb-mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmassdriver-cloud%2Fazure-cosmosdb-mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassdriver-cloud%2Fazure-cosmosdb-mongo/lists"}