Skip to content

Commit

Permalink
add sentry dsn to forecast india app
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed May 15, 2024
1 parent 3a26ebe commit 6749309
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/india/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ module "forecast" {
}
loglevel = "INFO"
ecs-task_execution_role_arn = module.ecs-cluster.ecs_task_execution_role_arn
sentry_dsn= var.sentry_dsn
}

# 4.0
Expand Down
5 changes: 5 additions & 0 deletions terraform/india/development/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@ variable version-runvl-consumer {
variable "analysis_dashboard_version" {
description = "The Analysis Dashboard version"
default = "main"
}

variable "sentry_dsn" {
type = string
description = "DNS for Sentry monitoring"
}
1 change: 1 addition & 0 deletions terraform/modules/services/forecast_generic/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ resource "aws_ecs_task_definition" "ecs-task-definition" {
{"name": "USE_ADJUSTER", "value": var.use_adjuster},
{"name": "SAVE_GSP_SUM", "value": var.pvnet_gsp_sum},
{"name": "ESMFMKFILE", "value": "/opt/conda/lib/esmf.mk"}
{"name": "SENTRY_DSN", "value": var.sentry_dsn}
]

secrets : [
Expand Down
6 changes: 6 additions & 0 deletions terraform/modules/services/forecast_generic/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,10 @@ variable "pvnet_gsp_sum" {
variable "ecs-task_execution_role_arn" {
description = "The arn of the ECS cluster task execution role"
type = string
}

variable "sentry_dsn" {
type = string
description = "DNS for Sentry monitoring"
default=""
}

0 comments on commit 6749309

Please sign in to comment.