103 lines
2.7 KiB
Terraform
103 lines
2.7 KiB
Terraform
|
|
variable "subscription_id" {
|
||
|
|
description = "The subscription ID for Azure"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "tenant_id" {
|
||
|
|
description = "The Tennant ID for Azure"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
variable "backend_resource_group_name" {
|
||
|
|
description = "The resource group name for the backend"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "backend_storage_account_name" {
|
||
|
|
description = "The storage account name for the backend"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "backend_container_name" {
|
||
|
|
description = "The container name for the backend"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "backend_key" {
|
||
|
|
description = "The key for the backend state file"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "resource_group_name" {
|
||
|
|
type = string
|
||
|
|
default = ""
|
||
|
|
description = "The name of the Azure resource group. If blank, a random name will be generated."
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "resource_group_name_prefix" {
|
||
|
|
type = string
|
||
|
|
default = "rg"
|
||
|
|
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "resource_group_location" {
|
||
|
|
type = string
|
||
|
|
default = "eastus"
|
||
|
|
description = "Location of the resource group."
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "sa_account_tier" {
|
||
|
|
description = "The tier of the storage account. Possible values are Standard and Premium."
|
||
|
|
type = string
|
||
|
|
default = "Standard"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "sa_account_replication_type" {
|
||
|
|
description = "The replication type of the storage account. Possible values are LRS, GRS, RAGRS, and ZRS."
|
||
|
|
type = string
|
||
|
|
default = "LRS"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "sa_name" {
|
||
|
|
description = "The name of the storage account. If blank, a random name will be generated."
|
||
|
|
type = string
|
||
|
|
default = ""
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "ws_name" {
|
||
|
|
description = "The name of the Log Analytics workspace. If blank, a random name will be generated."
|
||
|
|
type = string
|
||
|
|
default = ""
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "ai_name" {
|
||
|
|
description = "The name of the Application Insights instance. If blank, a random name will be generated."
|
||
|
|
type = string
|
||
|
|
default = ""
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "asp_name" {
|
||
|
|
description = "The name of the App Service Plan. If blank, a random name will be generated."
|
||
|
|
type = string
|
||
|
|
default = ""
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "fa_name" {
|
||
|
|
description = "The name of the Function App. If blank, a random name will be generated."
|
||
|
|
type = string
|
||
|
|
default = ""
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "runtime_name" {
|
||
|
|
description = "The name of the language worker runtime."
|
||
|
|
type = string
|
||
|
|
default = "python" # Allowed: dotnet-isolated, java, node, powershell, python
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "runtime_version" {
|
||
|
|
description = "The version of the language worker runtime."
|
||
|
|
type = string
|
||
|
|
default = "3.11" # Supported versions: see https://aka.ms/flexfxversions
|
||
|
|
}
|