-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvariables.tf
105 lines (90 loc) · 2.25 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
variable "vpc_id" {
type = "string"
description = "VPC id"
}
variable "subnet_ids" {
type = "list"
description = "A list of Subnet ids"
}
variable "additional_cidrs" {
type = "list"
description = "A list of cidrs to limit security groups"
}
variable "file_system_id" {
type = "string"
description = "File system id"
}
variable "security_group_arns" {
type = "list"
description = "A list of AWS EC2 Security Group ARNs"
}
variable "ec2_key_pair" {
type = "string"
description = "ec2 key-pair"
}
variable "datasync_agent" {
type = "map"
description = "A Map of datasync agent variables"
}
variable "datasync_task_tags" {
type = "map"
description = "A map of tags in addition to the default tags for the datasync-task object"
}
variable "datasync_location_s3_subdirectory" {
type = "string"
description = "AWS S3 Bucket path"
default = "/"
}
variable "datasync_location_nfs_subdirectory" {
type = "string"
description = "NFS path"
default = "/"
}
variable "bucket_name" {
type = "string"
description = "AWS S3 Bucket name"
}
variable "ec2_fleet" {
type = "map"
description = "A map of EC2 Fleet variables"
default = {
target_capacity_type = "on-demand"
target_capacity = "1"
terminate_instances = "true"
replace_instances = "true"
allocation_strategy = "lowestPrice"
}
}
variable "launch_template" {
type = "map"
description = "A map of AWS Launch Template variables"
default = {
instance_type = "m5.2xlarge"
}
}
variable "aws_region" {
type = "map"
description = "a map of an AWS Region name and alias"
default = {
name = "us-east-1"
alias = "ue1"
}
}
variable "env" {
type = "string"
description = "Environment"
}
variable "datasync_task_options" {
type = "map"
description = "A map of datasync_task options block"
default = {
verify_mode = "POINT_IN_TIME_CONSISTENT"
posix_permissions = "NONE"
preserve_deleted_files = "REMOVE"
uid = "NONE"
gid = "NONE"
atime = "NONE"
mtime = "NONE"
bytes_per_second = "-1"
}
}