-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
71 lines (59 loc) · 1.71 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
variable "name" {
type = string
description = "The name for the sagemaker resources"
}
variable "app_network_access_type" {
type = string
default = "VpcOnly"
description = "Specifies the VPC used for non-EFS traffic"
validation {
condition = contains(["PublicInternetOnly", "VpcOnly"], var.app_network_access_type)
error_message = "Allowed values for app_network_access_type are \"PublicInternetOnly\" or \"VpcOnly\"."
}
}
variable "auth_mode" {
type = string
default = "IAM"
description = "The mode of authentication that members use to access the domain"
validation {
condition = contains(["IAM", "SSO"], var.auth_mode)
error_message = "Allowed values for auth_mode are \"IAM\" or \"SSO\"."
}
}
variable "kms_key_id" {
type = string
default = null
description = "The kms key id of the AWS KMS Customer Managed Key to be used to encrypt the EFS volume attached to the domain"
}
variable "lcc_python_kernel" {
type = string
default = null
description = "Specifies the custom lifecycle config file"
}
variable "role_arn" {
type = string
default = null
description = "The arn of the IAM role to use for sagemaker"
}
variable "security_groups" {
type = list(string)
default = null
description = "The security groups"
}
variable "subnet_ids" {
type = list(string)
description = "The subnet ids"
}
variable "user_profiles" {
type = list(string)
default = []
description = "The subnet ids"
}
variable "vpc_id" {
type = string
description = "The VPC id"
}
variable "tags" {
type = map(string)
description = "A mapping of tags to assign to the resources"
}