From 828ffe5839d80f53df3445cb38dac5e19e44cf2d Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 8 Oct 2021 10:32:16 +0100 Subject: [PATCH] Update API stack to be exported v0.0.2 --- lib/ApiStack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ApiStack.ts b/lib/ApiStack.ts index c8ee405..0d79cc7 100644 --- a/lib/ApiStack.ts +++ b/lib/ApiStack.ts @@ -32,7 +32,7 @@ export class ApiStack extends sst.Stack { effect: Effect.ALLOW, actions: ['execute-api:Invoke'], resources: [ - `arn:aws:execute-api:${this.region}:${this.account}:${api.httpApi.apiId}/$default/GET/\${aws:PrincipalTag/org}/*`, + `arn:aws:execute-api:${this.region}:${this.account}:${this.api.httpApi.apiId}/$default/GET/\${aws:PrincipalTag/org}/*`, ], })