This directory contains a Cloudformation template for the Desole collector API and standard publishers. Use this source code to create your own custom bundle for Desole backend.
To deploy using a ready-made template, check out the parent directory README.md
- NPM
- An S3 Bucket for Deployment, in the same region where you would like to deploy Desole
- AWS CLI (command line tools), configured to use your account
For a detailed list of supported parameters, check out template.yaml
- Install the dependencies
npm install
- Prepare and pack your code
npm run prepackage
- Package the template
aws cloudformation package --template-file template.yaml --output-template-file output.yaml
- Deploy the packaged template
aws cloudformation deploy --template-file output.yaml --capabilities CAPABILITY_IAM --stack-name <STACK NAME>
You can also override CloudFormation template parameters by using --parameter-overrides <NAME>=<VALUE>
after the deploy
command. For a detailed list of supported parameters, check out template.yaml