fix 101-cosmos-db-manualscale example (#162)

This commit is contained in:
Dingjia Chen
2023-02-16 19:45:31 -06:00
committed by GitHub
parent 87e15c5c8a
commit cf17d34de4
4 changed files with 25 additions and 25 deletions

View File

@ -1,35 +1,24 @@
variable "resource_group_name" {
variable "prefix" {
type = string
description = "Resource group name"
default = "cosmosdb-manualscale"
description = "Prefix of the resource name"
}
variable "location" {
type = string
default = "eastus"
description = "Resource group location"
}
variable "cosmosdb_account_name" {
type = string
description = "Cosmos db account name"
}
variable "cosmosdb_account_location" {
type = string
default = "eastus"
description = "Cosmos db account location"
}
variable "cosmosdb_sqldb_name" {
type = string
description = "value"
}
variable "sql_container_name" {
type = string
description = "SQL API container name."
}
variable "throughput" {
type = number
default = 400
description = "Cosmos db database throughput"
validation {
condition = var.throughput >= 400 && var.throughput <= 1000000