Tools and scripts for AWS development.
Retrieves a Base64-encoded SSH deploy key from AWS Secrets Manager and installs it for use with Git operations on EC2 instances.
Usage:
# Optional
apt-get update
# Set required environment variables
SECRET_REGION=us-west-1 \
SECRET_ID=my-secret-id \
SECRET_KEY=DEPLOY_KEY_BASE64 \
./scripts/aws-cloudformation-install-deploy-key-from-secrets-manager.sh host.commacOS:
pip install pre-commit
brew install shellcheck bats-coreLinux (Debian/Ubuntu):
pip install pre-commit
apt-get install shellcheck batspre-commit install
./tests/setup-bats.shpre-commit
pre-commit run --all-filesbats tests