Skip to content

Commit

Permalink
update ecs task
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Jan 6, 2025
1 parent bae8f4e commit 2afb607
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/nowcasting/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ module "nwp-ecmwf" {
{ "name" : "ZARRDIR", "value" : format("s3://%s/ecmwf/data", module.s3.s3-nwp-bucket.id) },
{ "name" : "LOGLEVEL", "value" : "DEBUG" },
{ "name" : "SENTRY_DSN", "value" : var.sentry_dsn },
{ "name" : "CONCURRENCY", "value" : "false" },
# legacy ones
{ "name" : "AWS_S3_BUCKET", "value" : module.s3.s3-nwp-bucket.id },
{ "name" : "ECMWF_AWS_REGION", "value": "eu-west-1" },
Expand All @@ -243,7 +244,7 @@ module "nwp-ecmwf" {
{secret_policy_arn: aws_secretsmanager_secret.nwp_consumer_secret.arn,
values: ["ECMWF_REALTIME_S3_ACCESS_KEY", "ECMWF_REALTIME_S3_ACCESS_SECRET"]}
]
container-tag = var.nwp_version
container-tag = var.nwp_ecmwf_version
container-name = "openclimatefix/nwp-consumer"
container-command = ["consume"]
}
Expand Down
5 changes: 5 additions & 0 deletions terraform/nowcasting/development/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ variable "nwp_version" {
description = "The NWP version"
}

variable "nwp_ecmwf_version" {
description = "The ECMWF NWP version"
default=1.0.8
}

variable "sat_version" {
description = "The Satellite version"
}
Expand Down

0 comments on commit 2afb607

Please sign in to comment.