Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Nov 26, 2024
1 parent 57a38a0 commit 8c9a9b3
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions terraform/india/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,6 @@ module "forecast" {
aws-environment = local.environment

s3-buckets = [
{
id : module.s3-satellite-bucket.bucket_id,
access_policy_arn : module.s3-satellite-bucket.read_policy_arn
},
{
id : module.s3-nwp-bucket.bucket_id,
access_policy_arn : module.s3-nwp-bucket.read_policy_arn
Expand All @@ -366,16 +362,12 @@ module "forecast" {
{ "name" : "NWP_ECMWF_ZARR_PATH", "value": "s3://${module.s3-nwp-bucket.bucket_id}/ecmwf/data/latest.zarr" },
{ "name" : "NWP_GFS_ZARR_PATH", "value": "s3://${module.s3-nwp-bucket.bucket_id}/gfs/data/latest.zarr" },
{ "name" : "NWP_MO_GLOBAL_ZARR_PATH", "value": "s3://${module.s3-nwp-bucket.bucket_id}/metoffice/data/latest.zarr" },
{ "name" : "SATELLITE_ZARR_PATH", "value": "s3://${module.s3-satellite-bucket.bucket_id}/data/latest/iodc_latest.zarr.zip" },
{ "name" : "SENTRY_DSN", "value": var.sentry_dsn},
{ "name" : "USE_SATELLITE", "value": "True"},
{ "name" : "USE_SATELLITE", "value": "False"},
{ "name" : "SAVE_BATCHES_DIR", "value": "RUVNL"}
]

container-secret_vars = [
{secret_policy_arn: aws_secretsmanager_secret.huggingface_consumer_secret.arn,
values: ["HUGGINGFACE_TOKEN"]
},
{secret_policy_arn: module.postgres-rds.secret.arn,
values: ["DB_URL"]
}
Expand Down

0 comments on commit 8c9a9b3

Please sign in to comment.