-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
129 lines (113 loc) · 4.03 KB
/
variables.tf
File metadata and controls
129 lines (113 loc) · 4.03 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
variable "aws_region" {
default = "us-east-1"
type = string
description = "The AWS Region to use. Should match the location of your Redshift instance"
}
variable "controlshift_aws_region" {
default = "us-east-1"
type = string
description = "The AWS Region your ControlShift platform instance lives in. Consult controlshift support if you're not sure."
}
variable "redshift_cluster_identifier" {
type = string
description = "Your target Redshift cluster ID"
}
variable "redshift_database_name" {
type = string
}
variable "redshift_username" {
type = string
}
variable "redshift_password" {
type = string
}
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. Will be placed in the controlshift_aws_region AWS region"
}
variable "glue_scripts_bucket_name" {
type = string
description = "Your S3 bucket name to store Glue scripts 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 "success_topic_name_for_run_glue_job_lambda" {
default = "ControlshiftGlueJobSuccess"
type = string
description = "An SNS topic name that will be notified about batch processing successes"
}
variable "failure_topic_name_for_run_glue_job_lambda" {
default = "ControlshiftGlueJobFailure"
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 "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 "receiver_timeout" {
default = 60
type = number
description = "The timeout for the receiving Lambda, in seconds"
}
variable "controlshift_environment" {
default = "production"
type = string
description = "The environment of your ControlShift instance. Either staging or production"
}
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 "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."
}
variable "vpc_id" {
type = string
description = "The ID of the VPC Glue uses for connecting with Redshift"
}