Created
November 18, 2021 13:45
-
-
Save Loupax/80304b8f6664cdd7155b9197d02b38bd to your computer and use it in GitHub Desktop.
A script that waits for mock aws to be ready without depending on anything but the aws-cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Waiting for dynamodb to be up" | |
until aws dynamodb --endpoint-url http://mock-aws:4566 list-tables 2>/dev/null; do echo "Waiting for localstack to be ready";sleep 1; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment