Skip to content

Commit

Permalink
Merge pull request #53 from FouadMerhi/patch-1
Browse files Browse the repository at this point in the history
added nr_tags variable
  • Loading branch information
mrickard committed Apr 12, 2022
2 parents de1f7c9 + 4eef147 commit 1430a24
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ variable "nr_infra_logging" {
default = true
}

variable "nr_tags" {
type = string
description = "Additional tags added to the logs"
sensitive = false
}

variable "lambda_archive" {
type = string
description = "The path to the lambda archive, the lambda will be build here if the build_lambda variable is true."
Expand Down Expand Up @@ -187,6 +193,7 @@ resource "aws_lambda_function" "ingestion_function" {
LICENSE_KEY = var.nr_license_key
LOGGING_ENABLED = var.nr_logging_enabled ? "True" : "False"
INFRA_ENABLED = var.nr_infra_logging ? "True" : "False"
NR_TAGS = var.nr_tags
}
}

Expand Down

0 comments on commit 1430a24

Please sign in to comment.