-
Notifications
You must be signed in to change notification settings - Fork 4
/
variables.tf
108 lines (90 loc) · 2.46 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
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
101
102
103
104
105
106
107
108
variable "aws_profile" {
description = "AWS profile to be used"
type = string
}
variable "aws_region" {
description = "AWS region for Valohai resources"
type = string
default = "us-east-1"
}
variable "aws_account_id" {
description = "AWS Account ID"
type = string
}
variable "vpc_id" {
description = "ID of VPC for Roi"
type = string
}
variable "lb_subnet_ids" {
description = "List of subnet IDs for load balancer"
type = list(string)
}
variable "roi_subnet_id" {
description = "ID of subnet for Roi"
type = string
}
variable "db_subnet_ids" {
description = "ID of subnet for db"
type = list(string)
}
variable "worker_subnet_ids" {
description = "A list of subnets where Valohai workers can be placed"
type = list(string)
}
variable "ec2_key" {
description = "Location of the ssh key pub file that can be used for Valohai managed instances"
type = string
default = ".valohai.pub"
}
variable "s3_bucket_name" {
description = "Unique name for the S3 bucket that's used as the default output storage for Valohai"
type = string
}
variable "s3_logs_name" {
description = "Unique name for the S3 bucket that's used as the default log storage"
type = string
}
variable "environment_name" {
description = "Name of the environment / organization (e.g. MyOrg)"
type = string
default = "My Valohai Org"
}
variable "domain" {
description = "Address that will be used to access the service"
type = string
default = "" #"http://valohai.myorg.com"
}
variable "organization" {
description = "Name of organization in Valohai (e.g. MyOrg)"
type = string
default = "MyOrg"
}
variable "certificate_arn" {
description = "Certificate ARN"
type = string
default = "" # "arn:aws:acm:REGION:ACCOUNT:certificate/ID"
}
variable "ami_id" {
description = "AMI id from your Valohai contact"
type = string
default = ""
}
variable "aws_instance_types" {
description = "List of AWS instance types that should be created"
type = list(string)
default = [
"t3.small",
"c5.xlarge",
"p3.2xlarge"
]
}
variable "add_spot_instances" {
description = "Set to true when adding spot instances."
type = bool
default = false
}
variable "aws_spot_instance_types" {
description = "List of AWS spot instance types that should be created"
type = list(string)
default = []
}