-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
48 lines (40 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
variable "ssh_authorized_keys" {
description = "The OCID of the compartment. Find it: Profile → Tenancy: youruser → Tenancy information → OCID https://cloud.oracle.com/tenancy"
type = string
}
variable "compartment_id" {
description = "The OCID of the compartment. Find it: Profile - Tenancy: youruser - Tenancy information - OCID (copy) https://cloud.oracle.com/tenancy"
type = string
}
variable "source_image_id" {
description = "Source Ubuntu 22.04 image OCID. Find the right one for your region: https://docs.oracle.com/en-us/iaas/images/image/128dbc42-65a9-4ed0-a2db-be7aa584c726/index.htm"
type = string
}
variable "num_worker_instances" {
description = "Number of Coolify worker instances to deploy (max 3 for free tier)."
type = number
default = 1
}
variable "availability_domain_main" {
description = "Availability domain for coolify-main instance. Find it Core Infrastructure → Compute → Instances → Availability domain (left menu). For example: WBJv:EU-FRANKFURT-1-AD-1"
type = string
}
variable "availability_domain_workers" {
description = "Availability domain for coolify-worker instances. Find it Core Infrastructure → Compute → Instances → Availability domain (left menu). For example: WBJv:EU-FRANKFURT-1-AD-2"
type = string
}
variable "instance_shape" {
description = "The shape of the instance. VM.Standard.A1.Flex is free tier eligible."
type = string
default = "VM.Standard.A1.Flex" # OCI Free
}
variable "memory_in_gbs" {
description = "Memory in GBs for instance shape config. 6 GB is the maximum for free tier with 3 working nodes."
type = string
default = "6" # OCI Free
}
variable "ocpus" {
description = "OCPUs for instance shape config. 1 OCPU is the maximum for free tier with 3 working nodes."
type = string
default = "1" # OCI Free
}