Skip to content

Commit

Permalink
adding variable for sentinel version and updating it in files
Browse files Browse the repository at this point in the history
  • Loading branch information
P0NDER0SA committed Sep 25, 2024
1 parent dbd3552 commit d8e300b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion aws/eks/sentinel.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions env/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,10 @@ variable "sentinel_shared_key" {
sensitive = true
}
variable "sentinel_layer_version" {
type = string
}
variable "heartbeat_api_key" {
type = string
sensitive = true
Expand Down

0 comments on commit d8e300b

Please sign in to comment.