Skip to content

v1.11.0

Compare
Choose a tag to compare
@devwithkrishna-app-token-generator devwithkrishna-app-token-generator released this 18 Apr 19:27
· 10 commits to main since this release

Pull Request Title: Add Azure Cosmos DB MongoDB vCore Module

Pull Request URL: PR Link

Opened By: githubofkrishnadhas

Merged: True

Description: This pull request introduces a Terraform module to deploy an Azure Cosmos DB MongoDB vCore Cluster. The module supports flexible configurations for compute, storage, and high availability, making it suitable for various environments such as development, QA, UAT, and production.

Pull Request Title:

Add Azure Cosmos DB MongoDB vCore Module

Pull Request Description:

🔍 Overview:

This pull request introduces a Terraform module to deploy an Azure Cosmos DB MongoDB vCore Cluster. The module supports flexible configurations for compute, storage, and high availability, making it suitable for various environments such as development, QA, UAT, and production.


📝 Changes Made:

  1. Resource Group Creation:

    • Creates a resource group for the MongoDB cluster with environment-specific tags.
  2. MongoDB Cluster Deployment:

    • Deploys an Azure Cosmos DB MongoDB vCore cluster with the following configurable features:
      • Compute Tier: Supports tiers like Free, M10, M20, etc.
      • Shard Count: Configurable number of shards for horizontal scaling.
      • Storage Size: Adjustable storage size in GB.
      • High Availability Mode: Options for Disabled or ZoneRedundantPreferred.
      • Public Network Access: Configurable to Enabled or Disabled.
  3. Randomized Credentials:

    • Generates a secure administrator username using the random_pet resource.
    • Generates a strong administrator password using the random_password resource.
  4. Tagging:

    • Adds tags for better resource organization:
      • Environment, Orchestrator, DisplayName, ApplicationName, and Temporary.
  5. Outputs:

    • Provides outputs for key resources and configurations:
      • Resource group name, MongoDB cluster name, location, compute tier, shard count, storage size, and public access status.
      • Administrator username for the MongoDB cluster.
  6. Validation:

    • Includes validation for variables to ensure proper values are provided:
      • compute_tier: Must be one of Free, M10, M20, etc.
      • public_network_access: Must be Enabled or Disabled.
      • high_availability_mode: Must be Disabled or ZoneRedundantPreferred.
      • environment: Must be one of DEV, QA, UAT, or PROD.

DEVOPS-314 mongo Db cosmos cluster Azure

Created At: 2025-04-17T19:12:33Z

Closed & Merged At: 2025-04-18T19:26:28Z

Assignees: githubofkrishnadhas

Total Commits: 11

What's Changed

Full Changelog: v1.10.0...v1.11.0