This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
90 lines (75 loc) · 2.95 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
variable "create_resource_group" {
description = "Whether to create resource group and use it for all networking resources"
default = false
}
variable "resource_group_name" {
description = "A container that holds related resources for an Azure solution"
default = "rg-demo-westeurope-01"
}
variable "location" {
description = "The location/region to keep all your network resources. To get the list of all locations with table format from azure cli, run 'az account list-locations -o table'"
default = "westeurope"
}
variable "storage_account_name" {
description = "The name of the azure storage account"
default = ""
}
variable "account_kind" {
description = "The type of storage account. Valid options are BlobStorage, BlockBlobStorage, FileStorage, Storage and StorageV2."
default = "StorageV2"
}
variable "skuname" {
description = "The SKUs supported by Microsoft Azure Storage. Valid options are Premium_LRS, Premium_ZRS, Standard_GRS, Standard_GZRS, Standard_LRS, Standard_RAGRS, Standard_RAGZRS, Standard_ZRS"
default = "Standard_RAGRS"
}
variable "access_tier" {
description = "Defines the access tier for BlobStorage and StorageV2 accounts. Valid options are Hot and Cool."
default = "Hot"
}
variable "assign_identity" {
description = "Set to `true` to enable system-assigned managed identity, or `false` to disable it."
default = true
}
variable "soft_delete_retention" {
description = "Number of retention days for soft delete. If set to null it will disable soft delete all together."
default = 30
}
variable "enable_advanced_threat_protection" {
description = "Boolean flag which controls if advanced threat protection is enabled."
default = false
}
variable "network_rules" {
description = "Network rules restricing access to the storage account."
type = object({ bypass = list(string), ip_rules = list(string), subnet_ids = list(string) })
default = null
}
variable "containers_list" {
description = "List of containers to create and their access levels."
type = list(object({ name = string, access_type = string }))
default = []
}
variable "file_shares" {
description = "List of containers to create and their access levels."
type = list(object({ name = string, quota = number }))
default = []
}
variable "queues" {
description = "List of storages queues"
type = list(string)
default = []
}
variable "tables" {
description = "List of storage tables."
type = list(string)
default = []
}
variable "lifecycles" {
description = "Configure Azure Storage firewalls and virtual networks"
type = list(object({ prefix_match = set(string), tier_to_cool_after_days = number, tier_to_archive_after_days = number, delete_after_days = number, snapshot_delete_after_days = number }))
default = []
}
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {}
}