-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
138 lines (115 loc) · 3.06 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
variable "resource_group_name" {
type = string
description = "The resource group your function app will be assigned to"
}
variable "name" {
type = string
description = "The name of your function app"
}
variable "location" {
type = string
default = "UK South"
}
variable "env" {
type = string
description = "The environment to deploy to"
}
variable "app_settings" {
type = map(string)
description = "(Optional) A map of key-value pairs for App Settings and custom values."
}
variable "os_type" {
type = string
description = "(Required) The O/S type for the App Services to be hosted in this plan."
default = "Linux"
}
variable "product" {
type = string
description = "The product name"
}
variable "create_service_plan" {
type = bool
description = "If true a new service plan is created"
default = true
}
variable "service_plan_id" {
type = string
description = "If you want to use an existing service plan"
default = null
}
variable "sa_account_tier" {
type = string
description = "(Required) Defines the Tier to use for this storage account"
default = "Standard"
}
variable "account_replication_type" {
type = string
description = "(Required) Defines the type of replication to use for this storage account."
default = "ZRS"
}
variable "account_kind" {
type = string
description = "(Optional) Defines the Kind of account"
default = "StorageV2"
}
variable "sku_name" {
type = string
description = "(Required) The SKU for the plan."
default = "Y1"
}
variable "allow_nested_items_to_be_public" {
type = bool
description = "(Optional) Allow or disallow nested items within this Account to opt into being public"
default = false
}
variable "default_action" {
type = string
description = "(Optional) Network rules default action"
default = "Allow"
}
variable "sa_replication_type" {
type = string
default = "ZRS"
}
variable "dotnet_version" {
type = string
description = "(Optional) The version of .NET to use."
default = "v8.0"
}
variable "use_dotnet_isolated_runtime" {
type = bool
description = "(Optional) Should the DotNet process use an isolated runtime. Defaults to false."
default = true
}
variable "app_scale_limit" {
type = number
description = "(Optional) The number of workers this function app can scale out to."
default = 200
}
variable "dotnet_stack" {
type = bool
default = false
}
variable "java_stack" {
type = bool
default = false
}
variable "node_stack" {
type = bool
default = false
}
variable "java_version" {
type = string
description = "(Optional) The version of Java to use."
default = "17"
}
variable "node_version" {
type = string
description = "(Optional) The version of Node to run."
default = "20"
}
variable "ftps_state" {
type = string
description = "(Optional) State of FTP / FTPS service for this Windows Function App."
default = null
}