-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
38 lines (31 loc) · 1.03 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
variable "namespace" {
description = "Specifies the namespace for the deployment."
default = "common-fate"
type = string
}
variable "stage" {
description = "Determines the deployment stage (e.g., 'dev', 'staging', 'prod')."
default = "prod"
type = string
}
variable "proxy_id" {
description = "The ID of the Common Fate AWS RDS Proxy e.g prod-us-west-2. The proxy is deployed seperately, it must exist before you register a database using this module."
type = string
}
variable "app_url" {
description = "The app url (e.g., 'https://common-fate.mydomain.com')."
type = string
validation {
condition = can(regex("^https://", var.app_url))
error_message = "The app_url must start with 'https://'."
}
}
variable "cluster_name" {
description = "The name of the cluster."
type = string
}
variable "name" {
description = "A human readable name to give the EKS Cluster resource in Common Fate. Defaults to the EKS cluster name."
type = string
default = ""
}