fix 101-cosmos-db-serverside-functionality example (#163)
This commit is contained in:
@ -1,30 +1,24 @@
|
||||
variable "resource_group_name" {
|
||||
variable "prefix" {
|
||||
type = string
|
||||
description = "Resource group name"
|
||||
default = "cosmos-db-ss-func"
|
||||
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 "throughput" {
|
||||
type = number
|
||||
default = 400
|
||||
description = "Cosmos db database throughput"
|
||||
validation {
|
||||
condition = var.throughput >= 400 && var.throughput <= 1000000
|
||||
@ -34,24 +28,4 @@ variable "throughput" {
|
||||
condition = var.throughput % 100 == 0
|
||||
error_message = "Cosmos db throughput should be in increments of 100."
|
||||
}
|
||||
}
|
||||
|
||||
variable "sql_container_name" {
|
||||
type = string
|
||||
description = "SQL API container name."
|
||||
}
|
||||
|
||||
variable "sql_stored_procedure_name" {
|
||||
type = string
|
||||
description = "Stored procedure name"
|
||||
}
|
||||
|
||||
variable "sql_trigger_name" {
|
||||
type = string
|
||||
description = "Trigger name"
|
||||
}
|
||||
|
||||
variable "sql_function_name" {
|
||||
type = string
|
||||
description = "User defined function name"
|
||||
}
|
Reference in New Issue
Block a user