-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
52 lines (44 loc) · 1.16 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
variable "name" {
description = "Static Site name"
type = string
}
variable "resource_group_name" {
description = "Name of the resource group in which to create the Static Site resources"
type = string
}
variable "location" {
description = "Location of the Static Site resources"
type = string
}
variable "sku" {
description = "SKU size and tier of the static site"
type = string
default = "Free"
validation {
condition = contains(["Free", "Standard"], var.sku)
error_message = "SKU can only be 'Free' or 'Standard'"
}
}
variable "identity" {
description = "Custom identity settings for the Static Site"
type = map(object({
type = optional(string, "SystemAssigned")
ids = optional(list(string), [])
}))
default = {}
}
variable "app_settings" {
description = "Map of the Static Site settings"
type = map(string)
default = {}
}
variable "tags" {
description = "Map of the resource tags"
type = map(string)
default = {}
}
variable "custom_domains" {
description = "Map of the custom domains for the Static Site"
type = map(string)
default = {}
}