From 553f413b462b49a1ca863e4810d1c2f75fd888ae Mon Sep 17 00:00:00 2001 From: Peter Dudfield <34686298+peterdudfield@users.noreply.github.com> Date: Thu, 14 Nov 2024 11:08:48 +0000 Subject: [PATCH] fix site secret (#684) --- terraform/nowcasting/development/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/nowcasting/development/main.tf b/terraform/nowcasting/development/main.tf index d02b958c..8025c6e9 100644 --- a/terraform/nowcasting/development/main.tf +++ b/terraform/nowcasting/development/main.tf @@ -841,7 +841,7 @@ module "pvsite_database_clean_up" { { "name" : "SAVE_DIR", "value" : "s3://${module.pvsite_ml_bucket.bucket_id}/database" }, ] container-secret_vars = [ - {secret_policy_arn: module.pvsite_database.secret-policy.arn, + {secret_policy_arn: module.pvsite_database.secret.arn, values: ["OCF_PV_DB_URL"]} ] container-tag = var.database_cleanup_version