From 3ea141d547228993c4ae9884a3947e852a270491 Mon Sep 17 00:00:00 2001 From: larisa17 <42570262+larisa17@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:02:30 +0200 Subject: [PATCH] update grants file upload (#750) --- infra/aws/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infra/aws/index.ts b/infra/aws/index.ts index 2ff8425ac..5269a3724 100644 --- a/infra/aws/index.ts +++ b/infra/aws/index.ts @@ -1671,6 +1671,8 @@ if (stack === "production") { `--s3-secret-access-key=$GRANTS_DIGITAL_OCEAN_SECRET_ACCESS_KEY`, // Those are defined in the secrets "--filename=model_scores.parquet", "--format=parquet", + "--s3-extra-args", + "'" + JSON.stringify([{ ACL: "public-read" }]) + "'", ].join(" "), scheduleExpression: "cron(*/30 * ? * * *)", // Run the task every 30 min alertTopic: pagerdutyTopic,