Skip to content

Commit

Permalink
fix: add r2 env vars in api stack (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Dec 8, 2022
1 parent c7092c7 commit 5bc48dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion stacks/api-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ export function ApiStack({ stack, app }) {
COMMIT: git.commmit,
STAGE: stack.stage,
ACCESS_SERVICE_DID: process.env.ACCESS_SERVICE_DID ?? '',
ACCESS_SERVICE_URL: process.env.ACCESS_SERVICE_URL ?? ''
ACCESS_SERVICE_URL: process.env.ACCESS_SERVICE_URL ?? '',
R2_ACCESS_KEY_ID: process.env.R2_ACCESS_KEY_ID ?? '',
R2_SECRET_ACCESS_KEY: process.env.R2_SECRET_ACCESS_KEY ?? '',
R2_REGION: process.env.R2_REGION ?? '',
R2_DUDEWHERE_BUCKET_NAME: process.env.R2_DUDEWHERE_BUCKET_NAME ?? '',
R2_ENDPOINT: process.env.R2_ENDPOINT ?? '',
},
bind: [privateKey]
}
Expand Down

0 comments on commit 5bc48dc

Please sign in to comment.