-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathvariables.tf
35 lines (35 loc) · 983 Bytes
/
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
variable "prefect_cloud_account_id" {
type = string
description = "prefect cloud account ID"
}
variable "prefect_cloud_workspace_id" {
type = string
description = "prefect cloud workspace ID"
}
variable "create_namespace" {
type = bool
description = "optionally create the namespace to deploy the chart & agent to"
default = true
}
variable "namespace" {
type = string
description = "namespace to deploy the agent into"
default = "prefect"
}
variable "api_key" {
type = string
sensitive = true
description = "provide prefect cloud API key here to create a secret within k8s, otherwise provide the name of an existing secret"
default = null
}
variable "api_key_secret" {
type = object({
secret_name = string
secret_key = string
})
description = "name & key of k8s secret that contains the prefect cloud API key"
default = {
secret_name = "prefect-api-key"
secret_key = "key"
}
}