How to rebuild the project after making changes to it.
- Export your auth token:
export LOCALSTACK_AUTH_TOKEN=your_token
- Start LocalStack
localstack start
- Run the following script to clean up any Terraform state tracking files:
bash cleanup.sh
- Run the following script to create the resources via Terraform:
bash run-tf.sh
- Export state locally by creating the cloud pod:
localstack state export localstack-cloud-pod
Make sure the name is the same, so you don't have to create a new link via the Launchpad Push the cloud pod and the changes to the repository - If you want to change the cloud pod name, go to http://app.localstack.cloud/launchpad and put in the following link:
https://raw.githubusercontent.com/localstack-samples/ATO-24-takehome-challenge/main/<your-new-pod-name>