This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
78 lines (64 loc) · 1.44 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
variable "region" {
description = "Which region to deploy to"
type = string
default = "us-west-2"
}
variable "port" {
type = number
default = 8080
}
variable "openfga_container_image" {
description = "Which image to use"
type = string
default = "openfga/openfga:latest"
}
variable "service_count" {
description = "The number of OpenFGA replicas to deploy"
type = number
default = 1
}
variable "migrate" {
description = "Create the tables on a newly created database"
type = bool
default = true
}
variable "task_cpu" {
description = "The amount of cpu to give each OpenFGA instance"
type = number
default = 256
}
variable "task_memory" {
description = "The amount of memory to give each OpenFGA instance"
type = number
default = 512
}
variable "db_type" {
description = "The storage backend to use. Valid values are `postgres` and `memory`."
type = string
default = "postgres"
}
variable "db_name" {
type = string
default = "postgres"
}
variable "db_username" {
type = string
default = "postgres"
}
variable "db_password" {
type = string
default = "postgres"
}
variable "db_min_capacity" {
type = number
default = 0.5
}
variable "db_max_capacity" {
type = number
default = 1.0
}
variable "additional_tags" {
description = "Additional resource tags"
type = map(string)
default = {}
}