add ft to migrate from cognito

This commit is contained in:
2025-10-01 23:57:47 -03:00
parent daddab444f
commit 20d0d2b00f
12 changed files with 76 additions and 25 deletions

View File

@@ -34,7 +34,7 @@ tracer = Tracer()
logger = Logger(__name__)
cors = CORSConfig(
allow_origin='*',
allow_headers=['Content-Type', 'X-Requested-With', 'Authorization', 'X-Tenant'],
allow_headers=['Content-Type', 'X-Requested-With', 'Authorization'],
max_age=600,
allow_credentials=False,
)

View File

@@ -1,3 +1,4 @@
import os
USER_TABLE: str = os.getenv('USER_TABLE') # type: ignore
COURSE_TABLE: str = os.getenv('COURSE_TABLE') # type: ignore

View File

@@ -80,6 +80,6 @@ Outputs:
Value:
Fn::Sub: "https://${HttpApi}.execute-api.${AWS::Region}.${AWS::URLSuffix}"
HttpApiId:
Description: Api id of HttpApi
Description: Api ID of HttpApi
Value:
Ref: HttpApi