-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
73 lines (58 loc) · 1.87 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
70
71
72
73
variable "availability_domain" {
default = 1
description = "If errors about 'shape not found', try 2 or 3. See README for more information"
}
variable "ssh_public_key" {
default = ""
}
variable "source_ip" {
default = "0.0.0.0/0"
description = "IP address to allow access from. Recommended to only allow your personal public IP followed by /32"
}
variable "timezone" {
default = ""
description="Example America/Chicago"
}
variable "project_name" {
default = "obico"
description = "Alphanumeric only (No special characters like - or _). Used for the Compartment and DNS name for the VCN"
}
variable "region" {}
variable "compartment_ocid" {}
variable "bucket_name" {
default = "obico-backup"
description = "Name of the Oracle Storage Bucket created previously"
}
variable "dns_name" {
default = ""
description = "DNS name for the public IP assigned."
}
variable "ddns_url" {
default=""
description = "URL to update Dynamic DNS entry such as https://www.duckdns.org/update?domains={YOURDOMAIN}&token={YOURTOKEN} or http://sync.afraid.org/u/{YOURTOKEN} replacing {YOURTOKEN} with your actual token"
# https://www.duckdns.org/spec.jsp
# https://freedns.afraid.org/dynamic/v2/?style=1
}
variable "instance_shape" {
default = "VM.Standard.A1.Flex"
description = "Shape Reference: https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm"
}
variable "instance_shape_config_memory_in_gbs" {
default = 6
description = "RAM GB"
}
variable "instance_shape_config_ocpus" {
default = 2
description = "oCPUs"
}
variable "operating_system" {
default = "Canonical Ubuntu"
description = "Full name of OS without version number such as 'Canonical Ubuntu'"
}
variable "operating_system_version" {
default = "24.04"
description = "Version name of the specified OS, such as '24.04'"
}
resource "random_id" "obico_id" {
byte_length = 2
}