Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Nov 11, 2024
1 parent 8c46c8d commit 1680496
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions terraform/nowcasting/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ module "pvsite_database_clean_up" {
{"name": "OCF_ENVIRONMENT", "value": local.environment},
{ "name" : "ENVIRONMENT", "value" : local.environment },
{ "name" : "SENTRY_DSN", "value" : var.sentry_dsn },
{ "name" : "SAVE_DIR", "value" : "s3://${module.site_database_bucket.bucket_id}/database" },
{ "name" : "SAVE_DIR", "value" : "s3://${module.pvsite_ml_bucket.bucket_id}/database" },
]
container-secret_vars = [
{secret_policy_arn: module.pvsite_database.secret-policy.arn,
Expand All @@ -847,6 +847,10 @@ module "pvsite_database_clean_up" {
container-tag = var.database_cleanup_version
container-name = "openclimatefix/pvsite_database_cleanup"
container-registry = "docker.io"
s3-buckets = [{ bucket_write_policy_arn = module.pvsite_ml_bucket.write_policy_arn }]
s3-buckets = [
{ id : module.pvsite_ml_bucket.bucket_id,
access_policy_arn = module.pvsite_ml_bucket.write_policy_arn
}
]
container-command = []
}

0 comments on commit 1680496

Please sign in to comment.