-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
64 lines (56 loc) · 1.99 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
# Find your api key from https://app.datadoghq.com/account/settings#api
# Run `export TF_VAR_dd_api_key=<ACTUAL_DD_API_KEY>` to set its value.
variable "dd_api_key" {
type = string
description = "Datadog API key"
}
variable "dd_app_key" {
type = string
description = "Datadog APP key"
}
variable "lambda_forwarder_reserved_concurrency" {
type = number
description = "Datadog lambda reserved concurrency. See AWS Lambda docs for more info: https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html"
default = 100
}
variable "api_stack_template_url" {
type = string
description = "URL to Datadog API Stack CloudFormation template"
default = "https://datadog-cloudformation-template-quickstart.s3.amazonaws.com/aws/main_v2.yaml"
}
variable "lambda_forwarder_stack_template_url" {
type = string
description = "URL to Datadog Lambda Forwarder Stack CloudFormation template"
default = "https://datadog-cloudformation-template.s3.amazonaws.com/aws/forwarder/latest.yaml"
}
variable "log_collection_aws_services" {
type = list(string)
description = "DD Lambda function will automatically collect logs from these AWS services. See https://docs.datadoghq.com/api/latest/aws-logs-integration/?code-lang=curl for more info."
default = [
"cloudfront",
"elbv2",
"lambda",
"s3",
]
}
variable "lambda_forwarder_log_retention_in_days" {
type = number
description = "CloudWatch log retention for logs generated by the Datadog Forwarder Lambda function."
default = 365
}
variable "tags_api_stack" {
type = map(string)
description = "AWS Tags to apply to resources in the Datadog API CloudFormation stack"
default = {
app = "datadog"
service = "api-stack"
}
}
variable "tags_log_forwarder" {
type = map(string)
description = "AWS Tags to apply to resources in the Datadog API CloudFormation stack"
default = {
app = "datadog"
service = "log-forwarder"
}
}