-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
63 lines (53 loc) · 1.74 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
variable "project_id" {
type = string
description = "The project id from GCP"
}
variable "gke_cluster_name" {
type = string
description = "GKE cluster name for which to create IAM roles"
}
variable "service_accounts_unique_ids" {
type = list(string)
description = "Service Accounts' unique IDs used by node pools in the cluster"
default = []
}
variable "compute_manager_project_ids" {
type = list(string)
description = "Projects list for shared sole tenancy nodes"
default = []
}
variable "create_service_account" {
type = bool
description = "Whether an Service Account with private key should be created"
default = true
}
variable "setup_cloud_proxy_workload_identity" {
type = bool
description = "Whether the workload identity for castai-cloud-proxy should be setup"
default = false
}
variable "workload_identity_namespace" {
type = string
description = "Override workload identity namespace, default is <project-id>.svc.id.goog"
default = ""
}
variable "cloud_proxy_service_account_namespace" {
type = string
description = "Namespace of the cloud-proxy Kubernetes Service Account"
default = "castai-agent"
}
variable "cloud_proxy_service_account_name" {
type = string
description = "Name of the cloud-proxy Kubernetes Service Account"
default = "castai-cloud-proxy"
}
variable "castai_role_permissions" {
description = "A set of permissions that will be granted to CAST AI role used by central system"
type = list(string)
default = []
}
variable "compute_manager_permissions" {
description = "A set of permissions that will be granted to compute manager role"
type = list(string)
default = []
}