https://github.com/localstack-samples/localstack-init-hooks
Examples showing how to use LocalStack initialization hooks
https://github.com/localstack-samples/localstack-init-hooks
Last synced: 8 months ago
JSON representation
Examples showing how to use LocalStack initialization hooks
- Host: GitHub
- URL: https://github.com/localstack-samples/localstack-init-hooks
- Owner: localstack-samples
- Created: 2024-04-19T19:34:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-19T19:52:58.000Z (over 1 year ago)
- Last Synced: 2024-12-26T14:29:03.176Z (about 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Seeding LocalStack instances with init hooks
============================================
[Initialization hooks](https://docs.localstack.cloud/references/init-hooks/) are a way to automatically run scripts and programs during localstack lifecycle phases.
For instance, you could run a set of AWS commands after localstack has become ready to serve requests.
This sample shows how to use init hooks when using
* `docker compose` (`example-docker-compose/`)
* `localstack` cli (`example-localstack-cli/`)