forked from avinor/terraform-azurerm-container-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
59 lines (51 loc) · 1.42 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
variable "name" {
description = "Name of the resource"
}
variable "resource_group_name" {
description = "Name of resource group to deploy resources in."
}
variable "location" {
description = "Azure location where to place resources"
}
variable "sku" {
description = "The SKU name of the container registry"
default = "Standard"
}
variable "content_trust" {
description = "Set to true to enable Docker Content Trust on registry."
type = bool
default = false
}
variable "georeplications" {
description = "A list of Azure locations where the container registry should be geo-replicated."
type = list(object({
location = string
zone_redundancy_enabled = bool
regional_endpoint_enabled = bool
tags = map(string)
}))
default = null
}
variable "roles" {
description = "List of roles that should be assigned to Azure AD object_ids."
type = list(object({
object_id = string
role = string
}))
default = []
}
variable "tags" {
description = "Tags to apply to all resources created."
type = map(string)
default = {}
}
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
}