-
Notifications
You must be signed in to change notification settings - Fork 0
/
_vars.tf
71 lines (60 loc) · 1.75 KB
/
_vars.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
variable "service_name" {
type = string
description = "The name of the lambda function and related resources"
default = "newrelic-log-ingestion"
}
variable "nr_license_key" {
type = string
description = "Your NewRelic license key."
sensitive = true
}
variable "nr_logging_enabled" {
type = bool
description = "Determines if logs are forwarded to New Relic Logging"
default = false
}
variable "nr_infra_logging" {
type = bool
description = "Determines if logs are forwarded to New Relic Infrastructure"
default = true
}
variable "nr_tags" {
type = string
description = "Additional tags added to the logs"
sensitive = false
}
variable "memory_size" {
type = number
description = "Memory size for the New Relic Log Ingestion Lambda function"
default = 128
}
variable "timeout" {
type = number
description = "Timeout for the New Relic Log Ingestion Lambda function"
default = 30
}
variable "function_role" {
type = string
description = "IAM Role name that this function will assume. Should provide the AWSLambdaBasicExecutionRole policy. If not specified, an appropriate Role will be created."
default = null
}
variable "permissions_boundary" {
type = string
description = "IAM Role Permissions Boundary (optional)"
default = null
}
variable "lambda_log_retention_in_days" {
type = number
description = "Number of days to keep logs from the lambda for"
default = 7
}
variable "python_runtime_version" {
type = string
description = "The lambda Python runtime version"
default = "3.9"
}
variable "tags" {
type = map(string)
description = "Tags to add to the resources created"
default = {}
}