-
Notifications
You must be signed in to change notification settings - Fork 2
/
vars.tf
106 lines (88 loc) · 3.2 KB
/
vars.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
variable "location" {
type = string
description = "The azure location used for azure"
}
variable "project" {
type = string
description = "Three letter project key"
}
variable "stage" {
type = string
description = "Stage for this ressource group"
}
variable "resource_group" {
type = string
description = "Azure Resource Group to use"
}
variable "tags" {
type = map(any)
description = "Map of tags for the resources"
default = {}
}
variable "sku" {
type = string
description = "Keyvault sku"
default = "standard"
}
variable "azure_tenant_id" {
type = string
description = "The tenant id used for azure"
}
variable "allowed_objectids_fullaccess" {
type = list(string)
description = "A list of object IDs that are allowed to fully access the keyvault elements (with all operations)"
default = []
}
variable "allowed_objectid_app_tuples_fullaccess" {
type = list(string)
description = "A list of object IDs with allowed apps (in the form of <objectid>:<app>) that are allowed to fully access the keyvault"
default = []
}
variable "allowed_objectids_readonly" {
type = list(string)
description = "A list of object IDs that are allowed to read elements in the keyvault"
default = []
}
variable "allowed_objectid_app_tuples_readonly" {
type = list(string)
description = "A list of object IDs with allowed apps (in the form of <objectid>:<app>) that are allowed to read elements the keyvault"
default = []
}
variable "allowed_objectids_createonly" {
type = list(string)
description = "A list of object IDs that are allowed to create (but not read or change) elements in the keyvault"
default = []
}
variable "allowed_objectid_app_tuples_createonly" {
type = list(string)
description = "A list of object IDs with allowed apps (in the form of <objectid>:<app>) that are allowed to create (but not read or change) elements the keyvault"
default = []
}
variable "enable_audit" {
type = bool
description = "Enable audit of keyvault changes"
default = false
}
variable "soft_delete_retention_days" {
type = number
description = "The number of days that items should be retained for once soft-deleted. This value can be between 7 and 90 days"
default = 14
}
variable "network_acls_bypass" {
type = string
description = "Specifies which traffic can bypass the network rules. Possible values are AzureServices and None."
default = "None"
}
variable "network_acls_default_action" {
type = string
description = "The Default Action to use when no rules match from ip_rules / virtual_network_subnet_ids. Possible values are Allow and Deny."
default = "Deny"
}
variable "network_acls_ip_rules" {
type = list(string)
description = "List of one or more IP Addresses, or CIDR Blocks which should be able to access the Key Vault. If default action is Allow this can be an empty list"
}
variable "network_acls_virtual_network_subnet_ids" {
type = list(string)
description = "List of one or more Subnet IDs which should be able to access this Key Vault. If default action is Allow this can be an empty list"
}