@ -1,65 +1,50 @@
|
||||
variable "rg" {
|
||||
description = "Azure resource group for all resources."
|
||||
}
|
||||
|
||||
variable "siteName" {
|
||||
description = "Name of azure web app"
|
||||
variable "prefix" {
|
||||
type = string
|
||||
default = "pgkv"
|
||||
description = "Prefix of the resource name"
|
||||
}
|
||||
|
||||
variable "tags" {
|
||||
type = map(any)
|
||||
default = {
|
||||
type = "sample"
|
||||
services = "MySql, WebApp, Azure database"
|
||||
}
|
||||
description = "Azure Tags for all resources."
|
||||
default = {}
|
||||
}
|
||||
|
||||
|
||||
variable "administratorLogin" {
|
||||
description = "Database administrator login name"
|
||||
variable "database_sku_name" {
|
||||
type = string
|
||||
default = "GP_Gen5_2"
|
||||
description = "The name of the SKU, follows the tier + family + cores pattern (e.g. `B_Gen4_1`, `GP_Gen5_8`)."
|
||||
}
|
||||
|
||||
variable "administratorLoginPassword" {
|
||||
description = "Database administrator password"
|
||||
}
|
||||
|
||||
variable "databaseDTU" {
|
||||
description = "Azure database for MySQL pricing tier"
|
||||
default = 2
|
||||
}
|
||||
|
||||
variable "databaseSkuName" {
|
||||
description = "Azure database for MySQL sku name"
|
||||
default = "GP_Gen4_2"
|
||||
}
|
||||
|
||||
variable "databaseSkuFamily" {
|
||||
description = "Azure database for MySQL sku family"
|
||||
default = "Gen4"
|
||||
}
|
||||
|
||||
|
||||
variable "databaseSkuSizeMB" {
|
||||
description = "Azure database for MySQL Sku Size"
|
||||
variable "database_sku_size_MB" {
|
||||
type = number
|
||||
default = 5120
|
||||
description = "Azure database for MySQL Sku Size"
|
||||
}
|
||||
|
||||
variable "databaseSkuTier" {
|
||||
description = "Azure database for MySQL pricing tier"
|
||||
default = "GeneralPurpose"
|
||||
}
|
||||
|
||||
variable "mysqlVersion" {
|
||||
variable "mysql_version" {
|
||||
type = string
|
||||
default = "5.7"
|
||||
description = "MySQL version"
|
||||
default = "5.6"
|
||||
}
|
||||
|
||||
variable "loc" {
|
||||
type = string
|
||||
default = "eastus"
|
||||
description = "Location for all resources."
|
||||
default = "eastus2"
|
||||
}
|
||||
|
||||
variable "servicePlanTier" {
|
||||
variable "service_plan_tier" {
|
||||
type = string
|
||||
default = "Standard"
|
||||
description = "Azure managed application service plan pricing tier"
|
||||
}
|
||||
|
||||
variable "servicePlanSize" {
|
||||
variable "service_plan_size" {
|
||||
type = string
|
||||
default = "S1"
|
||||
description = "Azure managed application service plan instance size"
|
||||
}
|
||||
|
Reference in New Issue
Block a user