terraform/modules/avs_nva_cisco_8000v_scenario2/variables.tf (115 lines of code) (raw):
variable "rg_name" {
type = string
description = "The azure resource name for the resource group"
}
variable "rg_location" {
description = "Resource Group region location"
default = "westus2"
}
variable "asn" {
type = string
description = "ASN value used for the Cisco CSR "
}
variable "router_id" {
type = string
description = "RouterID value for the Cisco CSRs"
}
variable "fw_ars_ips" {
type = list(string)
description = "Ip values for the route server in the firewall vnet"
}
variable "avs_ars_ips" {
type = list(string)
description = "Ip values for the route server in the avs connected vnet"
}
variable "csr_fw_facing_subnet_gw" {
type = string
description = "the gateway address for the csr subnet facing the firewall vnet"
}
variable "csr_avs_facing_subnet_gw" {
type = string
description = "the gateway address for the csr subnet facing AVS"
}
variable "avs_network_subnet" {
type = string
description = "the subnet for the AVS vnet without the mask"
}
variable "avs_network_mask" {
type = string
description = "the mask for the AVS vnet. Typically a /22 mask value"
}
variable "node0_name" {
type = string
description = "the vmname for the node0 CSR"
}
variable "node1_name" {
type = string
description = "the vmname for the node0 CSR"
}
variable "fw_facing_subnet_id" {
type = string
description = "the Azure resource id for the CSR subnet facing the firewall"
}
variable "avs_facing_subnet_id" {
type = string
description = "the Azure resource id for the CSR subnet facing AVS"
}
variable "keyvault_id" {
type = string
description = "keyvault where the passwords are being stored"
}
variable "avs_hub_replacement_asn" {
type = string
description = "Dummy ASN used to replace the ASN from the AVS hub to avoid routing loops"
}
variable "fw_hub_replacement_asn" {
type = string
description = "Dummy ASN used to replace the ASN from the AVS hub to avoid routing loops"
}
variable "nva_sku_size" {
type = string
description = "The size of the sku used for the Cisco 8000v NVA"
validation {
condition = contains([
"Standard_D4_v2",
"Standard_DS4_v2",
"Standard_D2_v2",
"Standard_D3_v2",
"Standard_DS2_v2",
"Standard_DS3_v2",
"Standard_F16s_v2",
"Standard_F32s_v2"
], var.nva_sku_size)
error_message = "Invalid sku size for marketplace offering"
}
default = "Standard_D2_v2"
}
variable "admin_username" {
type = string
description = "the username used as an administrator for the NVA"
default = "azureuser"
}
variable "onprem_avs" {
type = bool
description = "Set this value to true if using AVS to simulate an onprem datacenter"
default = false
}
variable "tags" {
type = map(string)
description = "List of the tags that will be assigned to each resource"
}
variable "cisco_byol" {
type = bool
description = "flag to determine if deployment should use the BYOL or PayGo licensing model for the Cisco 8000v's. True = BYOL, false = PAYGO"
default = true
}
variable "zone_1" {
type = number
description = "zone where the 0 node resource should be located."
default = 1
}
variable "zone_0" {
type = number
description = "zone where the 1 node resource should be located."
default = 2
}