forked from rafaelzimmermann/remote-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
68 lines (57 loc) · 1.39 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
variable "name" {
type = string
default = "docker-remote"
}
variable "user" {
type = string
default = "ubuntu"
}
# String of comma separated port numbers to open
variable "open_ports" {
type = string
default = "80,443"
}
# dy.fi DDNS service
variable "dyfi_username" {
type = string
default = "user@mail.com"
}
variable "dyfi_password" {
type = string
default = "password"
}
variable "dyfi_hostname" {
type = string
default = "mydomain.dy.fi"
}
/*
Available flex shapes:
"VM.Optimized3.Flex" # Intel Ice Lake
"VM.Standard3.Flex" # Intel Ice Lake
"VM.Standard.A1.Flex" # Ampere Altra
"VM.Standard.E3.Flex" # AMD Rome
"VM.Standard.E4.Flex" # AMD Milan
Always Free Resources:
All tenancies get up to two Always Free VM instances using the VM.Standard.E2.1.Micro shape, which has an AMD processor. (1 Gb memory)
All tenancies get the first 3,000 OCPU hours and 18,000 GB hours per month for free for VM instances using the VM.Standard.A1.Flex shape, which has an Arm processor. For Always Free tenancies, this is equivalent to 4 OCPUs and 24 GB of memory.
*/
variable "available_ocpus" {
type = number
default = 4
}
variable "available_mem" {
type = number
default = 24
}
variable "shape" {
type = string
default = "VM.Standard.A1.Flex"
}
variable "how_many_nodes" {
type = number
default = 1
}
variable "availability_domain" {
type = number
default = 0
}