-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
94 lines (61 loc) · 1.76 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
variable "tenancy_ocid" {
}
variable "user_ocid" {
}
variable "fingerprint" {
}
variable "private_key_path" {
}
variable "region" {
}
variable "compartment_ocid" {
}
variable "availability_domain" {
default = "vWQc:EU-FRANKFURT-1-AD-1"
}
variable "windmill_vcn_cidr" {
default = "10.1.0.0/16"
}
variable "postgresql_subnet_cidr" {
default = "10.1.20.0/24"
}
variable "postgresql_database_password" {
}
variable "windmill_subnet_cidr" {
default = "10.1.1.0/24"
}
variable "container_restart_policy" {
description = "(Optional) Container restart policy"
type = string
default = "ALWAYS"
}
variable "graceful_shutdown_timeout_in_seconds" {
description = "(Optional) The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted."
type = string
default = "0"
}
variable "state" {
description = "(Optional) (Updatable) The target state for the Container Instance. Could be set to ACTIVE or INACTIVE."
type = string
default = "ACTIVE"
}
variable "shape" {
description = "(Required) The shape of the container instance. The shape determines the resources available to the container instance."
type = string
default = "CI.Standard.E4.Flex"
}
variable "shape_config" {
description = "(Required) The size and amount of resources available to the container instance."
type = object({
memory_in_gbs = number
ocpus = number
})
default = {
memory_in_gbs = 1
ocpus = 1
}
}
# variable "database_url" {
# description = "DB URL of the Postgres to connect to Windmill."
# type = string
# }