Skip to content

Redeploying SWODLR Microservices

Josh Garde edited this page Oct 12, 2023 · 1 revision

SWODLR microservices are first built locally and packaged as a zip file before being uploaded to AWS Lambda. To update a SWODLR microservice, first ensure that the environment variables for that microservice are set otherwise these variables will need to be set during the Terraform deployment. Past values for these variables can be found in SSM's Parameter Store.

Deployment

First, build and package the service locally. This is typically done with a build script in the service's bin directory or at its root.

./build.sh

Second, open the Terraform directory and run the deploy script for the selected environment.

cd terraform
./bin/deploy.sh uat

Clone this wiki locally