workload/terraform/modules/azurefiles/variables.tf (31 lines of code) (raw):
variable "rg_stor" {
type = string
description = "Name of the Resource group in which to deploy storage"
}
variable "avdLocation" {
description = "Location of the resource group."
}
variable "prefix" {
type = string
description = "Prefix of the name under 5 characters"
validation {
condition = length(var.prefix) < 5 && lower(var.prefix) == var.prefix
error_message = "The prefix value must be lowercase and < 4 chars."
}
}
# Create a storage allow list of IP Addresses
variable "allow_list_ip" {
type = list(string)
description = "List of allowed IP Addresses"
}
variable "hub_subscription_id" {
type = string
description = "Hub Subscription id"
}
variable "spoke_subscription_id" {
type = string
description = "Spoke Subscription id"
}
variable "identity_subscription_id" {
type = string
description = "Spoke Subscription id"
}