forked from controlshift/bulk-data-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
97 lines (84 loc) · 2.96 KB
/
variables.tf
File metadata and controls
97 lines (84 loc) · 2.96 KB
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
variable "aws_region" {
default = "us-east-1"
type = string
description = "The AWS Region to use. All resources will be created in this region."
}
variable "redshift_schema" {
type = string
default = "public"
description = "The redshift schema to load tables into"
}
variable "manifest_bucket_name" {
type = string
description = "Your S3 bucket name to store manifests of ingests processed in"
}
variable "manifest_prefix" {
default = "manifests/"
type = string
description = "A file prefix that will be used for manifest logs on success"
}
variable "failed_manifest_prefix" {
default = "failed/"
type = string
description = "A file prefix that will be used for manifest logs on failure"
}
variable "success_topic_name" {
default = "ControlshiftLambdaLoaderSuccess"
type = string
description = "An SNS topic name that will be notified about batch processing successes"
}
variable "failure_topic_name" {
default = "ControlshiftLambdaLoaderFailure"
type = string
description = "An SNS topic name that will be notified about batch processing failures"
}
variable "controlshift_hostname" {
default = "staging.controlshiftlabs.com"
type = string
description = "The hostname of your ControlShift instance. Likely to be something like action.myorganization.org"
}
variable "receiver_timeout" {
default = 60
type = number
description = "The timeout for the receiving Lambda, in seconds"
}
variable "redshift_cluster_identifier" {
type = string
description = "The target Redshift cluster ID"
}
variable "controlshift_organization_slug" {
type = string
description = "The organization's slug in ControlShift platform. Ask support team (support@controlshiftlabs.com) to find this value."
}
variable "glue_scripts_bucket_name" {
type = string
description = "Your S3 bucket name to store Glue scripts in"
}
variable "lambda_loader_subnet_ids" {
type = list(string)
description = "List of subnet IDs where AWS Lambda may be run. Add more than one for Multi AZ reliability"
default = []
}
variable "lambda_loader_security_group_ids" {
type = list(string)
description = "List of AWS security groups IDs that should be assigned to the lambda that loads tables into Redshift"
default = []
}
variable "glue_physical_connection_requirements" {
type = object({ availability_zone=string, subnet_id=string, security_group_id_list=list(string) })
description = "A terraform map of the physical_connection_requirements property of the glue redshift connection. See Terraform aws_glue_connection docs."
default = null
}
variable "email_open_firehose_stream" {
type = string
description = "The name of a Firehose stream that will receive email open events."
default = ""
}
variable "email_click_firehose_stream" {
type = string
description = "The name of a Firehose stream that will receive email click events."
default = ""
}
variable "vpc_id" {
type = string
}