diff --git a/aws/eks/sentinel.tf b/aws/eks/sentinel.tf index ef0a41733..394a02e9e 100644 --- a/aws/eks/sentinel.tf +++ b/aws/eks/sentinel.tf @@ -12,7 +12,7 @@ module "sentinel_forwarder" { function_name = "sentinel-cloud-watch-forwarder" billing_tag_value = "notification-canada-ca-${var.env}" - layer_arn = "arn:aws:lambda:ca-central-1:283582579564:layer:aws-sentinel-connector-layer:153" + layer_arn = "arn:aws:lambda:ca-central-1:283582579564:layer:aws-sentinel-connector-layer:${var.sentinel_layer_version}" customer_id = var.sentinel_customer_id shared_key = var.sentinel_shared_key diff --git a/env/terragrunt.hcl b/env/terragrunt.hcl index de52904e8..fffffed85 100644 --- a/env/terragrunt.hcl +++ b/env/terragrunt.hcl @@ -501,6 +501,10 @@ variable "sentinel_shared_key" { sensitive = true } +variable "sentinel_layer_version" { + type = string +} + variable "heartbeat_api_key" { type = string sensitive = true