-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
54 lines (43 loc) · 1.42 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
variable "display_name" {
default = "adguard"
}
variable "tenancy_ocid" { # https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#five
default = "ocid1.tenancy.oc1..CHANGETHISssadas"
}
variable "user_ocid" { # https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#five
default = "ocid1.user.oc1..CHANGETHIS"
}
variable "fingerprint" { # https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#four
default = "11:22:33.........."
}
variable "compartment_ocid" {
default = "ocid1.user.oc1..CHANGETHIS"
}
variable "private_key" {
default = "/Users/username/.ssh/id_rsa"
sensitive = true
}
variable "ssh_public_key" {
default = "/Users/username/.ssh/id_rsa.pub"
}
variable "instance_shape" {
default = "VM.Standard.A1.Flex" # ARM
# default = "VM.Standard.E2.1.Micro" # X64
}
variable "instance_ocpus" {
default = 4 # ARM = 4, AMD = 1
}
variable "instance_shape_config_memory_in_gbs" {
default = 23 #ARM = 24, AMD = 1
}
variable "region" {
default = "eu-amsterdam-1"
}
variable "flex_instance_image_ocid" {
# See https://docs.us-phoenix-1.oraclecloud.com/images/
type = map(string)
default = {
# eu-amsterdam-1 = "ocid1.image.oc1.eu-amsterdam-1.aaaaaaaadw6rseqgm33aytx35duudrm6edzp5lhhvutmkxzt45kn4szreraa" # ubuntu
eu-amsterdam-1 = "ocid1.image.oc1.eu-amsterdam-1.aaaaaaaa526auzq66wvw4m2f4l2jhvlluvjc6njpnzqjtuiq23ghb3u5ymoa" # oracle 9
}
}