Skip to content
Discussion options

You must be logged in to vote

main.parameters.json
main-bicep.txt

See attached files:

  • main-bicep.txt is the bicep file
  • main.parameters.json is a simple parameter file represents hierarchal mapping (nested arrays) of cosmos accounts, db, and containers.

Here is the result of a WhatIf Deployment which seems to be working:


  + Microsoft.DocumentDB/databaseAccounts/cosmos-farmName123-envName123-ringName123-0
  + Microsoft.DocumentDB/databaseAccounts/cosmos-farmName123-envName123-ringName123-0/sqlDatabases/sqldb-farmName123-envName123-ringName123-0-0
  + Microsoft.DocumentDB/databaseAccounts/cosmos-farmName123-envName123-ringName123-0/sqlDatabases/sqldb-farmName123-envName123-ringName123-0-0/containers/container-farmNam…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@YousefImran
Comment options

@GABRIELNGBTUC
Comment options

@YousefImran
Comment options

Comment options

You must be logged in to vote
1 reply
@YousefImran
Comment options

Answer selected by YousefImran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants