forked from kendrickcc/odm-azure-wf1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
63 lines (63 loc) · 1.5 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
variable "repo_name" {
default = "odm-azure-wf1"
}
variable "repo_owner" {
default = "kendrickcc"
}
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 "prefix" {
description = "The prefix which should be used for all resources in this example"
default = "odmv5"
}
variable "location" {
default = "centralus"
}
variable "webodm_servers" {
description = "Number of WebODM/ClusterODM servers."
default = 1
}
variable "nodeodm_servers" {
description = "Number of nodeODM servers"
default = 0
}
variable "vnet_cidr" {
default = "192.168.0.0/16"
}
variable "subnet_cidr" {
default = "192.168.100.0/24"
}
variable "vmSize" {
default = "Standard_D2s_v3"
#vmSize = "Standard_D4s_v3"
#vmSize = "Standard_D8s_v3"
}
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"
}
}