Terraform Greenfield Validation

Storage Account Changes

  • Added explicit location parameter to all storage account modules:
    • Central resources storage account
    • Data partition storage account
    • SDMS storage account
    • Ingest storage account
    • Hierarchical storage account
    • Service resources storage account
    • System storage account

CosmosDB Modifications

  • Added new variable cosmosdb_enable_replications:
    • Type: boolean
    • Default value: true
    • Added to both data partition and service resources
  • Implemented enable_replication parameter in CosmosDB account modules
  • Added dependency constraint for SQL role definition on CosmosDB account creation using depends_on

Technical Details

  • Storage account locations now inherit from their respective resource groups
  • Storage account configurations maintain existing parameters for container names, queues, and replication types
  • CosmosDB replication can now be toggled through the new variable
Edited by Daniel Scholl (MS]

Merge request reports

Loading