-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
67 lines (56 loc) · 1.82 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
variable "name" {
description = "The name of the faasd instance. All resources will be namespaced by this value."
type = string
}
variable "basic_auth_user" {
description = "The basic auth user name."
type = string
default = "admin"
}
variable "basic_auth_password" {
description = "The basic auth password, if left empty, a random password is generated."
type = string
default = null
sensitive = true
}
variable "domain" {
description = "A public domain for the faasd instance. This will the use of Caddy and a Let's Encrypt certificate"
type = string
default = ""
}
variable "email" {
description = "Email used to order a certificate from Let's Encrypt"
type = string
default = ""
}
variable "resource_group_name" {
description = "The name of the resource group in which to create the resources."
type = string
}
variable "location" {
description = "Specifies the supported Azure location in which to create the resources."
type = string
}
variable "subnet_id" {
description = "The ID of the Subnet where the Network Interface should be located in."
type = string
}
variable "size" {
description = "The SKU which should be used for this Virtual Machine, such as `Standard_B1ms`."
type = string
default = "Standard_B1ms"
}
variable "admin_username" {
description = "The username of the local administrator used for the Virtual Machine."
type = string
default = "adminuser"
}
variable "public_key" {
description = "The Public Key which should be used for authentication, which needs to be at least 2048-bit and in `ssh-rsa` format."
type = string
}
variable "tags" {
description = "A mapping of tags which should be assigned to the resources."
type = map(string)
default = {}
}