Achieving Operational Success of SaaS Solutions
pnpx cdk init --language typescriptpnpm up -r --workspacebrew install aws/tap/aws-sam-clisam local start-lambda -t ./cdk.out/SaasProviderStack.template.jsonsam local invoke DynamoLambdaHandlerFB6EB814 --no-event -t ./cdk.out/SaasProviderStack.template.jsonpnpx aws-sdk-js-codemod -t v2-to-v3 infrastructures/saas_provider/src/services/index.ts
npx cdk bootstrap \
--cloudformation-execution-policies arn\:aws\:iam::aws\:policy/AdministratorAccess \
aws://$ACCOUNT_ID/us-east-1 \
aws://$ACCOUNT_ID/us-east-2
020235202149
- Cognito: https://github.com/Collaborne/migrate-cognito-user-pool-lambda/blob/master/README.md https://cloudar.be/awsblog/options-for-migrating-between-amazon-cognito-user-pools/
- CloudFormation cannot update a stack when a custom-named resource requires replacing.
- CI/CD on AWS Workshop
- Pass vars between stage docker run -p 9000:8080 589767107094.dkr.ecr.ap-northeast-1.amazonaws.com/cicdstack-multitenanthublambda2d3d098d-odrgmwvoxwrx:latest
- EXPORT_NAME cannot be updated as it is in use by STACK_NAME
- SSM
- CrHelper
- Stack update in progress will fail the infraDeployment mainly by previous deployment. -> retry button or wait for 20 mins
- Set up secret manager for PAT token (Feature: use conection)
- Delete all webhook generated from github to prevent push trigger for tenant pipeline(if you are not using connection)
Reason: Token authorizer is not working and therafore cannot add context to the lambda request. [ERROR] KeyError: 'authorizer' Traceback (most recent call last): File "/var/task/aws_lambda_powertools/tracing/tracer.py", line 313, in decorate response = lambda_handler(event, context, **kwargs) File "/var/task/order_service.py", line 71, in get_orders tenantId = event['requestContext']['authorizer']['tenantId']