-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathvariables.tf
92 lines (76 loc) · 2.34 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
variable "name" {
description = "The Name of the application or solution (e.g. `bastion` or `portal`)"
}
variable "namespace" {
description = "Namespace (e.g. `cp` or `cloudposse`)"
}
variable "stage" {
description = "Stage (e.g. `prod`, `dev`, `staging`)"
}
variable "region" {
type = string
default = ""
description = "(Optional) AWS Region. If not specified, will be derived from 'aws_region' data source"
}
variable "vpc_id" {
default = ""
description = "VPC ID"
}
# https://www.terraform.io/docs/configuration/variables.html
# simply using string values rather than booleans for variables is recommended
variable "use_ip_address" {
default = "false"
description = "If set to `true`, will use IP address instead of DNS name to connect to the `EFS`"
}
variable "datapipeline_config" {
description = "DataPipeline configuration options"
type = map(string)
default = {
instance_type = "t2.micro"
email = ""
period = "24 hours"
timeout = "60 Minutes"
}
}
variable "efs_mount_target_id" {
type = string
description = "EFS Mount Target ID (e.g. `fsmt-279bfc62`)"
}
variable "modify_security_group" {
default = "false"
description = " Should the module modify the `EFS` security group"
}
# Set a name of ssh key that will be deployed on DataPipeline's instance. The key should be present in AWS.
variable "ssh_key_pair" {
type = string
description = "`SSH` key that will be deployed on DataPipeline's instance"
}
variable "noncurrent_version_expiration_days" {
default = "35"
description = "S3 object versions expiration period (days)"
}
variable "delimiter" {
type = string
default = "-"
description = "Delimiter to be used between `name`, `namespace`, `stage`, etc."
}
variable "attributes" {
type = list(string)
default = []
description = "Additional attributes (e.g. `efs-backup`)"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags (e.g. `map('BusinessUnit`,`XYZ`)"
}
variable "subnet_id" {
type = string
default = ""
description = "Optionally specify the subnet to use"
}
variable "datapipeline_security_group" {
type = string
default = ""
description = "Optionally specify a security group to use for the datapipeline instances"
}