3.File.Storage/config.auto.tfvars (120 lines of code) (raw):
resourceGroupName = "ArtistAnywhere.Storage"
extendedZone = {
enable = false
name = "LosAngeles"
location = "WestUS"
}
###################################################################################
# Storage (https://learn.microsoft.com/azure/storage/common/storage-introduction) #
###################################################################################
storageAccounts = [
{
enable = false
name = "xstudio1" # Name must be globally unique (lowercase alphanumeric)
type = "BlockBlobStorage" # https://learn.microsoft.com/azure/storage/common/storage-account-overview
tier = "Premium" # https://learn.microsoft.com/azure/storage/common/storage-account-overview#performance-tiers
redundancy = "LRS" # https://learn.microsoft.com/azure/storage/common/storage-redundancy
enableHttpsOnly = true # https://learn.microsoft.com/azure/storage/common/storage-require-secure-transfer
enableBlobNfsV3 = true # https://learn.microsoft.com/azure/storage/blobs/network-file-system-protocol-support
enableLargeFileShare = false # https://learn.microsoft.com/azure/storage/files/storage-how-to-create-file-share#advanced
privateEndpointTypes = [ # https://learn.microsoft.com/azure/storage/common/storage-private-endpoints
"blob"
]
blobContainers = [ # https://learn.microsoft.com/azure/storage/blobs/storage-blobs-introduction
{
enable = true
name = "storage"
}
]
fileShares = [ # https://learn.microsoft.com/azure/storage/files/storage-files-introduction
]
extendedZone = {
enable = false
}
},
{
enable = false
name = "xstudio2" # Name must be globally unique (lowercase alphanumeric)
type = "FileStorage" # https://learn.microsoft.com/azure/storage/common/storage-account-overview
tier = "Premium" # https://learn.microsoft.com/azure/storage/common/storage-account-overview#performance-tiers
redundancy = "LRS" # https://learn.microsoft.com/azure/storage/common/storage-redundancy
enableHttpsOnly = false # https://learn.microsoft.com/azure/storage/common/storage-require-secure-transfer
enableBlobNfsV3 = false # https://learn.microsoft.com/azure/storage/blobs/network-file-system-protocol-support
enableLargeFileShare = true # https://learn.microsoft.com/azure/storage/files/storage-how-to-create-file-share#advanced
privateEndpointTypes = [ # https://learn.microsoft.com/azure/storage/common/storage-private-endpoints
"file"
]
blobContainers = [ # https://learn.microsoft.com/azure/storage/blobs/storage-blobs-introduction
]
fileShares = [ # https://learn.microsoft.com/azure/storage/files/storage-files-introduction
{
enable = false
name = "storage"
sizeGB = 5120
accessTier = "Premium"
accessProtocol = "NFS"
}
]
extendedZone = {
enable = false
}
}
]
##########################################################################################
# Managed Lustre (https://learn.microsoft.com/azure/azure-managed-lustre/amlfs-overview) #
##########################################################################################
managedLustre = {
enable = false
name = "xstudio"
type = "AMLFS-Durable-Premium-40" # https://learn.microsoft.com/azure/azure-managed-lustre/create-file-system-resource-manager#file-system-type-and-size-options
sizeTiB = 48
blobStorage = {
enable = true
accountName = "xstudio1"
resourceGroupName = "ArtistAnywhere.Storage"
containerName = {
archive = "lustre"
logging = "lustre-logging"
}
importPrefix = "/"
}
maintenanceWindow = {
dayOfWeek = "Sunday"
utcStartTime = "00:00"
}
encryption = {
enable = false
}
}
############################################################################
# Private DNS (https://learn.microsoft.com/azure/dns/private-dns-overview) #
############################################################################
dnsRecord = {
name = "storage"
ttlSeconds = 300
}
########################
# Brownfield Resources #
########################
virtualNetwork = {
name = "Studio"
subnetName = "Storage"
resourceGroupName = "ArtistAnywhere.Network.WestUS"
privateDNS = {
zoneName = "azure.studio"
resourceGroupName = "ArtistAnywhere.Network"
}
}
activeDirectory = {
enable = false
domain = {
name = "azure.studio"
}
machine = {
name = "WinADController"
adminLogin = {
userName = ""
userPassword = ""
}
}
}