forked from kendrickcc/odm-azure-wf2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
69 lines (69 loc) · 1.77 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
variable "repo_name" {
default = "odm-azure-wf2"
}
variable "repo_owner" {
default = "summitbri"
}
variable "project" {
default = "test build"
}
variable "pub_key" {
default = "id_rsa_webodm"
}
variable "pub_key_data" {
description = "The contents of the public key are stored in GitHub as a secret"
}
variable "fuse_accountname" {
description = "Stored as a GitHub secret"
}
variable "fuse_accountkey" {
description = "Stored as a GitHub secret"
}
variable "container" {
default = "webodmblob"
}
variable "prefix" {
description = "The prefix which should be used for all resources in this example"
default = "XXXXXXXXXXXXXXXXX"
}
variable "location" {
default = "centralus"
}
variable "nodeodm_servers" {
description = "Number of nodeODM servers"
default = 1
}
variable "vnet_cidr" {
default = "192.168.0.0/16"
}
variable "subnet_cidr" {
default = "192.168.100.0/24"
}
variable "vmSize" {
#default = "Standard_E4as_v5" # 2 CPU 16 GiB $0.128/hour
default = "Standard_E8as_v5" # 8 CPU 32 GiB $0.255/hour
#default = "Standard_E16as_v5" # 16 CPU 64 GiB $0.511/hour
#default = "Standard_E20as_v5" # 20 CPU 128 GiB $1.022/hour
}
variable "adminUser" {
default = "ubuntu"
}
variable "storageAccountType" {
default = "Premium_LRS"
}
variable "diskSizeGB" {
default = "100"
}
# Edit to one of the values for standard_os
variable "simple_os" {
default = "focal"
}
# Definition of the standard OS with "SimpleName" = "publisher,offer,sku"
# To get a list of images for your location run
# az vm image list --all --publisher Canonical --location centralus --output [table, tsv, json]
variable "standard_os" {
default = {
"bionic" = "Canonical,UbuntuServer,18_04-lts-gen2"
"focal" = "Canonical,0001-com-ubuntu-server-focal,20_04-lts-gen2"
}
}