- Python3
- virtualenv
- aws-vault or leapp-cli
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
To install a script in /usr/local/bin/populate-ssm
:
pip3 install .
The easiest way is by using pipx.
If you don't have pipx, you can install it with:
python3 -m pip install --upgrade pip
python3 -m pipx ensurepath
# Reload your shell
Now install populate-ssm
:
pipx install git+https://github.com/deploymode/populate-ssm.git
By default, this will install the tool in ~/.local/bin/populate-ssm
.
ave om-staging-admin -- python src/populate_ssm/main.py test/one.env /myorg/test/app
export STAGE=staging
ave myorg-$STAGE-admin -- python __init__.py ../../../my-project/$STAGE.env /myorg/$STAGE/app