Fix concurrent error in cosmosdb example (#191)

* fix concurrent error in cosmosdb example

* change to random_string to reduce the collision rate

* fix 101-cosmos-db-free-tier account name too long issue

---------

Co-authored-by: zjhe <hezijie@microsoft.com>
This commit is contained in:
lonegunmanb
2023-03-15 08:49:16 +08:00
committed by GitHub
parent c4d4d696a5
commit 2f73fa933f
13 changed files with 73 additions and 8 deletions

View File

@ -12,7 +12,7 @@ variable "location" {
variable "cosmosdb_account_name" {
type = string
default = "default-account-name"
default = null
description = "Cosmos db account name"
}