-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
117 lines (103 loc) · 3.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
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
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 "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 ([email protected]) 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"
}