-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathvariables.tf
More file actions
73 lines (59 loc) · 1.67 KB
/
variables.tf
File metadata and controls
73 lines (59 loc) · 1.67 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
## Required variables.
variable "aws_account_id" {
type = string
description = "ID of AWS account the cluster is located in."
}
variable "aws_cluster_region" {
type = string
description = "Region of the cluster to be connected to CAST AI."
}
variable "aws_cluster_name" {
type = string
description = "Name of the cluster to be connected to CAST AI."
}
variable "castai_api_token" {
type = string
description = "CAST AI API token created in console.cast.ai API Access keys section"
}
variable "aws_assume_role_arn" {
type = string
description = "Arn of the role to be used by CAST AI for IAM access"
default = null
}
variable "subnets" {
type = list(string)
description = "Subnet IDs used by CAST AI to provision nodes"
}
variable "cluster_security_group_id" {
type = string
description = "EKS cluster security group ID"
}
variable "node_security_group_id" {
type = string
description = "EKS cluster node security group ID"
}
variable "vpc_id" {
type = string
description = "EKS cluster VPC ID"
}
variable "profile" {
type = string
description = "Profile used with AWS CLI"
default = "default"
}
## Optional variables.
variable "castai_api_url" {
type = string
description = "CAST AI url to API, default value is https://api.cast.ai"
default = "https://api.cast.ai"
}
variable "delete_nodes_on_disconnect" {
type = bool
description = "Optionally delete Cast AI created nodes when the cluster is destroyed"
default = false
}
variable "azs" {
description = "List of availability zones"
type = list(string)
default = []
}