lonegunmanb 513af170ca
Fix 101-front-door-standard-premium (#189)
* add random string to resource group name to avoid concurrent test issue

* change region to obtain quota

---------

Co-authored-by: zjhe <hezijie@microsoft.com>
2023-03-14 07:24:55 +08:00

34 lines
701 B
HCL

variable "location" {
type = string
default = "eastus"
}
variable "resource_group_name" {
type = string
default = "FrontDoor"
}
variable "app_service_plan_sku_name" {
type = string
default = "S1"
}
variable "app_service_plan_capacity" {
type = number
default = 1
}
variable "app_service_plan_sku_tier_name" {
type = string
default = "Standard"
}
variable "front_door_sku_name" {
type = string
default = "Standard_AzureFrontDoor"
validation {
condition = contains(["Standard_AzureFrontDoor", "Premium_AzureFrontDoor"], var.front_door_sku_name)
error_message = "The SKU value must be Standard_AzureFrontDoor or Premium_AzureFrontDoor."
}
}