Skip to content

Commit 1430a24

Browse files
authored
Merge pull request #53 from FouadMerhi/patch-1
added nr_tags variable
2 parents de1f7c9 + 4eef147 commit 1430a24

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

terraform.tf

+7
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ variable "nr_infra_logging" {
2626
default = true
2727
}
2828

29+
variable "nr_tags" {
30+
type = string
31+
description = "Additional tags added to the logs"
32+
sensitive = false
33+
}
34+
2935
variable "lambda_archive" {
3036
type = string
3137
description = "The path to the lambda archive, the lambda will be build here if the build_lambda variable is true."
@@ -187,6 +193,7 @@ resource "aws_lambda_function" "ingestion_function" {
187193
LICENSE_KEY = var.nr_license_key
188194
LOGGING_ENABLED = var.nr_logging_enabled ? "True" : "False"
189195
INFRA_ENABLED = var.nr_infra_logging ? "True" : "False"
196+
NR_TAGS = var.nr_tags
190197
}
191198
}
192199

0 commit comments

Comments
 (0)