-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
126 lines (105 loc) · 3.44 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
118
119
120
121
122
123
124
125
126
variable "glue_database_name" {
type = string
description = "Name of the glue database where the table will be created"
}
variable "glue_table_name" {
type = string
description = "Table name containing query history"
}
variable "force_table_creation" {
type = string
default = "false"
description = "Force the creation of the table"
}
variable "force_table_creation_trigger" {
type = string
default = ""
description = "Trigger to force the recreation of the table"
}
variable "s3_table_location_prefix" {
type = string
description = "Prefix ot the S3 location where the table data will be stored"
}
variable "s3_bucket_table_location" {
type = string
description = "The name of the S3 bucket where the table will be stored"
}
variable "create_table_athena_workgroup_name" {
type = string
default = "primary"
description = "Name of the Athena workgroup where the table will be created"
}
variable "create_table_athena_s3_output_bucket_name" {
type = string
description = "Name of the S3 bucket where the Athena query results will be stored"
}
variable "resource_prefix" {
type = string
default = "athena-query-observability"
description = "Prefix used to name the resources created by this module"
}
variable "firehose_name_suffix" {
description = "Firhose name suffifx, it can be used to force recreation of the Firehose delivery stream"
type = string
default = ""
}
variable "firehose_log_group_retention_in_days" {
type = number
default = 1
description = "Retention period for the firehose log group"
}
variable "firehose_buffering_size" {
type = number
default = 5
description = "Buffering size for the firehose"
}
variable "firehose_buffering_interval" {
type = number
default = 10
description = "Buffering interval for the firehose"
}
variable "firehose_retry_duration" {
type = number
default = 3600
description = "Retry duration for the firehose"
}
variable "firehose_s3_error_output_prefix" {
type = string
default = "_errors"
description = "Suffix for the error output of the firehose"
}
variable "firehose_s3_error_iceberg_prefix" {
type = string
default = "_iceberg_errors"
description = "Suffix for the error output of the firehose"
}
variable "athena_query_state_change_event_pattern" {
type = list(string)
default = ["QUEUED", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED"]
description = "Event pattern for the Athena query state change"
}
variable "event_bridge_rule_state" {
type = string
default = "ENABLED"
description = "State of the event bridge rule"
}
variable "event_bridge_retry_policy_maximum_event_age_in_seconds" {
type = number
default = 1800
description = "Maximum event age in seconds for the event bridge retry policy"
}
variable "event_bridge_retry_policy_maximum_retry_attempts" {
type = number
default = 15
description = "Maximum retry attempts for the event bridge retry policy"
}
variable "lambda_create_iceberg_table_log_group_retention_in_days" {
type = number
default = 1
description = "Retention period for the lambda create iceberg table log group"
}
variable "lambda_event_dispatcher_log_group_retention_in_days" {
type = number
default = 3
description = "Retention period for the lambda event dispatcher log group"
}