Skip to content

Commit

Permalink
Issue/nwp sentry (#617)
Browse files Browse the repository at this point in the history
* add sentry to nwp

* add sentry to nwp in uk
  • Loading branch information
peterdudfield authored Sep 20, 2024
1 parent 07638b6 commit 942fc1e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/india/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ module "nwp_consumer_ecmwf_live_ecs_task" {
{ "name" : "ECMWF_AWS_S3_BUCKET", "value" : "ocf-ecmwf-production" },
{ "name" : "LOGLEVEL", "value" : "DEBUG" },
{ "name" : "ECMWF_AREA", "value" : "nw-india" },
{ "name" : "SENTRY_DSN", "value" : var.sentry_dsn },
{ "name" : "ENVIRONMENT", "value" : local.environment },
]
container-secret_vars = [
{secret_policy_arn:aws_secretsmanager_secret.nwp_consumer_secret.arn,
Expand Down Expand Up @@ -177,6 +179,8 @@ module "nwp_consumer_gfs_live_ecs_task" {
{ "name" : "AWS_REGION", "value" : var.region },
{ "name" : "AWS_S3_BUCKET", "value" : module.s3-nwp-bucket.bucket_id },
{ "name" : "LOGLEVEL", "value" : "DEBUG" },
{ "name" : "SENTRY_DSN", "value" : var.sentry_dsn },
{ "name" : "ENVIRONMENT", "value" : local.environment },
]
container-secret_vars = []
container-tag = var.version-nwp
Expand Down
4 changes: 4 additions & 0 deletions terraform/nowcasting/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ module "nwp-national" {
{ "name" : "AWS_S3_BUCKET", "value" : module.s3.s3-nwp-bucket.id },
{ "name" : "LOGLEVEL", "value" : "DEBUG" },
{ "name" : "METOFFICE_ORDER_ID", "value" : "uk-12params-42steps" },
{ "name" : "SENTRY_DSN", "value" : var.sentry_dsn },
{ "name" : "ENVIRONMENT", "value" : local.environment },
]
container-secret_vars = [
{secret_policy_arn: aws_secretsmanager_secret.nwp_consumer_secret.arn,
Expand Down Expand Up @@ -204,6 +206,8 @@ module "nwp-ecmwf" {
{ "name" : "ECMWF_AWS_S3_BUCKET", "value" : "ocf-ecmwf-production" },
{ "name" : "LOGLEVEL", "value" : "DEBUG" },
{ "name" : "ECMWF_AREA", "value" : "uk" },
{ "name" : "SENTRY_DSN", "value" : var.sentry_dsn },
{ "name" : "ENVIRONMENT", "value" : local.environment },
]
container-secret_vars = [
{secret_policy_arn: aws_secretsmanager_secret.nwp_consumer_secret.arn,
Expand Down

0 comments on commit 942fc1e

Please sign in to comment.