-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathvariables.tf
80 lines (69 loc) · 2.41 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
variable "name" {
description = "Name of key vault account."
}
variable "resource_group_name" {
description = "Name of resource group to deploy resources in."
}
variable "location" {
description = "Azure location where resources should be deployed."
}
variable "sku_name" {
description = "The Name of the SKU used for this Key Vault. Possible values are `standard` and `premium`."
default = "standard"
}
variable "enabled_for_deployment" {
description = "Boolean flag to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault. Defaults to `false`."
type = bool
default = false
}
variable "enabled_for_disk_encryption" {
description = "Boolean flag to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys. Defaults to `false`."
type = bool
default = false
}
variable "enabled_for_template_deployment" {
description = "Boolean flag to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault. Defaults to `false`."
type = bool
default = false
}
variable "soft_delete_retention_days" {
description = "The number of days that items should be retained for once soft-deleted."
type = number
default = 7
}
variable "access_policies" {
description = "Map of access policies for an object_id (user, service principal, security group) to backend."
type = list(object({
object_id = string,
certificate_permissions = list(string),
key_permissions = list(string),
secret_permissions = list(string),
storage_permissions = list(string),
}))
default = []
}
variable "network_acls" {
description = "Network rules to apply to key vault."
type = object({
bypass = string,
default_action = string,
ip_rules = list(string),
virtual_network_subnet_ids = list(string),
})
default = null
}
variable "diagnostics" {
description = "Diagnostic settings for those resources that support it. See README.md for details on configuration."
type = object({
destination = string,
eventhub_name = string,
logs = list(string),
metrics = list(string)
})
default = null
}
variable "tags" {
description = "Tags to apply to all resources created."
type = map(string)
default = {}
}