forked from outerbounds/terraform-aws-metaflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
67 lines (55 loc) · 1.99 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
variable "batch_type" {
type = string
description = "AWS Batch Compute Type ('ec2', 'fargate')"
default = "ec2"
}
variable "compute_environment_desired_vcpus" {
type = number
description = "Desired Starting VCPUs for Batch Compute Environment [0-16] for EC2 Batch Compute Environment (ignored for Fargate)"
}
variable "compute_environment_instance_types" {
type = list(string)
description = "The instance types for the compute environment as a comma-separated list"
}
variable "compute_environment_max_vcpus" {
type = number
description = "Maximum VCPUs for Batch Compute Environment [16-96]"
}
variable "compute_environment_min_vcpus" {
type = number
description = "Minimum VCPUs for Batch Compute Environment [0-16] for EC2 Batch Compute Environment (ignored for Fargate)"
}
variable "compute_environment_egress_cidr_blocks" {
type = list(string)
default = ["0.0.0.0/0"]
description = "CIDR blocks to which egress is allowed from the Batch Compute environment's security group"
}
variable "iam_partition" {
type = string
default = "aws"
description = "IAM Partition (Select aws-us-gov for AWS GovCloud, otherwise leave as is)"
}
variable "resource_prefix" {
type = string
description = "Prefix given to all AWS resources to differentiate between applications"
}
variable "resource_suffix" {
type = string
description = "Suffix given to all AWS resources to differentiate between environment and workspace"
}
variable "metaflow_vpc_id" {
type = string
description = "ID of the Metaflow VPC this SageMaker notebook instance is to be deployed in"
}
variable "standard_tags" {
type = map(string)
description = "The standard tags to apply to every AWS resource."
}
variable "subnet1_id" {
type = string
description = "The first private subnet used for redundancy"
}
variable "subnet2_id" {
type = string
description = "The second private subnet used for redundancy"
}