Made changes to cosmos db services and samples to include subnet capabilities
c06664f6
Shrinivas Choudhary
committed
14 changed files
cosmos-db.tf
/samples/cosmos-db/mongoapi-simple/cosmos-db.tf
/samples/cosmos-db/mongoapi-simple/cosmos-db.tf
readme.md
/samples/cosmos-db/mongoapi-simple/readme.md
/samples/cosmos-db/mongoapi-simple/readme.md
region-primary.tf
/samples/cosmos-db/mongoapi-simple/region-primary.tf+26
/samples/cosmos-db/mongoapi-simple/region-primary.tf
Add comment 1 Plus  module "vnet" {
Add comment 2 Plus  
Add comment 3 Plus   source = "../../../services/network/vnet/base"
Add comment 4 Plus  
Add comment 5 Plus   context = module.resource_group.context
Add comment 6 Plus   observability_settings = module.logging.primary
Add comment 7 Plus  
Add comment 8 Plus   name = "${var.application_name}-${var.environment_name}-${local.service_name}-${local.primary_region.number}"
Add comment 9 Plus   address_space = ["10.0.0.0/16"]
Add comment 10 Plus  
Add comment 11 Plus  }
Add comment 12 Plus  
Add comment 13 Plus  module "mongodb_subnet" {
Add comment 14 Plus  
Add comment 15 Plus   source = "../../../services/network/subnet/base"
Add comment 16 Plus  
Add comment 17 Plus   context = module.resource_group.context
Add comment 18 Plus  
Add comment 19 Plus   name = "mongodb"
Add comment 20 Plus   virtual_network_name = module.vnet.name
Add comment 21 Plus   address_prefixes = ["10.0.1.0/24"]
Add comment 22 Plus  
Add comment 23 Plus   service_endpoints = ["Microsoft.AzureCosmosDB", "Microsoft.Storage", "Microsoft.KeyVault"]
Add comment 24 Plus  
Add comment 25 Plus  }
Add comment 26 Plus  
variables.tf
/samples/cosmos-db/mongoapi-simple/variables.tf
/samples/cosmos-db/mongoapi-simple/variables.tf
cosmos-db.tf
/samples/cosmos-db/sqlapi-network/cosmos-db.tf
/samples/cosmos-db/sqlapi-network/cosmos-db.tf
readme.md
/samples/cosmos-db/sqlapi-network/readme.md
/samples/cosmos-db/sqlapi-network/readme.md
variables.tf
/samples/cosmos-db/sqlapi-network/variables.tf
/samples/cosmos-db/sqlapi-network/variables.tf
main.tf
/services/cosmos-db/endpoint/mongo-db/main.tf
/services/cosmos-db/endpoint/mongo-db/main.tf
readme.md
/services/cosmos-db/endpoint/mongo-db/readme.md
/services/cosmos-db/endpoint/mongo-db/readme.md
variables.tf
/services/cosmos-db/endpoint/mongo-db/variables.tf
/services/cosmos-db/endpoint/mongo-db/variables.tf
main.tf
/services/cosmos-db/endpoint/sql/main.tf
/services/cosmos-db/endpoint/sql/main.tf
readme.md
/services/cosmos-db/endpoint/sql/readme.md
/services/cosmos-db/endpoint/sql/readme.md
variables.tf
/services/cosmos-db/endpoint/sql/variables.tf
/services/cosmos-db/endpoint/sql/variables.tf
.gitignore
/.gitignore
/.gitignore