-
Notifications
You must be signed in to change notification settings - Fork 17
/
variables-network.tf
55 lines (47 loc) · 1.58 KB
/
variables-network.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
# Storage Firewall
variable "network_rules_enabled" {
description = "Boolean to enable Network Rules on the Storage Account, requires `network_bypass`, `allowed_cidrs`, `subnet_ids` or `default_firewall_action` correctly set if enabled."
type = bool
default = true
}
variable "network_bypass" {
description = "Specifies whether traffic is bypassed for 'Logging', 'Metrics', 'AzureServices' or 'None'."
type = list(string)
default = ["Logging", "Metrics", "AzureServices"]
}
variable "allowed_cidrs" {
description = "List of CIDR to allow access to that Storage Account."
type = list(string)
default = []
}
variable "subnet_ids" {
description = "Subnets to allow access to that Storage Account."
type = list(string)
default = []
}
variable "default_firewall_action" {
description = "Which default firewalling policy to apply. Valid values are `Allow` or `Deny`."
type = string
default = "Deny"
}
variable "private_link_access" {
description = "List of Privatelink objects to allow access from."
type = list(object({
endpoint_resource_id = string
endpoint_tenant_id = optional(string, null)
}))
default = []
nullable = false
}
variable "public_nested_items_allowed" {
description = "Allow or disallow nested items within this Account to opt into being public."
type = bool
default = false
nullable = false
}
variable "public_network_access_enabled" {
description = "Whether the public network access is enabled."
type = bool
default = true
nullable = false
}