-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
100 lines (84 loc) · 2.63 KB
/
variables.tf
File metadata and controls
100 lines (84 loc) · 2.63 KB
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
93
94
95
96
97
98
99
100
variable "k8s_provider" {
description = "Kubernetes cloud provider (gke, eks, aks)"
type = string
validation {
condition = contains(["gke", "eks", "aks"], var.k8s_provider)
error_message = "Kubernetes provider must be one of: gke, eks, aks"
}
}
variable "api_url" {
description = "CAST AI API URL"
type = string
default = "https://api.cast.ai"
}
variable "kvisor_grpc_url" {
description = "Kvisor gRPC URL"
type = string
default = "kvisor.prod-master.cast.ai:443"
}
variable "api_token" {
description = "CAST AI API token (key) for authentication"
type = string
sensitive = true
}
variable "organization_id" {
description = "CAST AI organization ID"
type = string
}
variable "cluster_id" {
description = "CAST AI cluster ID to enable Omni functionality for"
type = string
}
variable "cluster_name" {
description = "CAST AI cluster name"
type = string
}
variable "api_server_address" {
description = "K8s API server address"
type = string
}
variable "pod_cidr" {
description = "Pod CIDR for network configuration"
type = string
}
variable "service_cidr" {
description = "Service CIDR for network configuration"
type = string
}
variable "reserved_subnet_cidrs" {
description = "List of reserved subnet CIDR's (relevant for GKE)"
type = list(string)
default = []
}
variable "omni_agent_chart_version" {
description = "OMNI agent helm chart version"
type = string
default = "1.10.8"
}
variable "storage_provider" {
description = "Storage provider (storageclass) for the edge clusters. If empty, they will be defaulted to `premium-rwo` for GKE and `gp3` for EKS"
type = string
default = null
}
variable "loadbalancer_provider" {
description = "LoadBalancer provider for edge cluster. This setting is used only for EKS clusters (accepted values are `nlb` and `external`). If empty, it will be defaulted to `external` for EKS"
type = string
default = null
}
variable "skip_helm" {
description = "Skip installing any helm release; allows managing helm releases using GitOps"
type = bool
default = false
}
# tflint-ignore: terraform_unused_declarations
variable "cluster_region" {
description = "Not used. This variable is kept for backwards compatibility, will be removed in the future."
type = string
default = ""
}
# tflint-ignore: terraform_unused_declarations
variable "cluster_zone" {
description = "Not used. This variable is kept for backwards compatibility, will be removed in the future."
type = string
default = ""
}