This repo uses the AWS CDK to deploy a base strapi project.
proccess.env[variable];- REGION: region of the aws account target
- SECRET_ARN: For an added level of security, you must create a secret value in AWS secrets manager for the strapi database creds
- CDK_DEFAULT_REGION: region that the cli of the cdk is set too
- CDK_DEFAULT_Account=target aws account number
Useful commands
-
npm run buildcompile typescript to js -
npm run watchwatch for changes and compile -
npm run testperform the jest unit tests -
cdk deploydeploy this stack to your default AWS account/region -
cdk diffcompare deployed stack with current state -
cdk synthemits the synthesized CloudFormation template