Upload secrets/parameters from various sources to various destinations.
This tool is in very early stage, I'm planning to support more sources/destinations in the future. Use at your own risk.
git clone git@github.com:refl3ction/vampire.gitcd vampiremake install# Requires rust toolchain to be installed for now
Before running the tool, make sure to export your AWS profile.
export AWS_PROFILE=my-profile
Usage: vampire [OPTIONS] --file<FILE> --region<REGION>Options: -f, --file<FILE> -p, --prefix<PREFIX> [default: ] -r, --region<REGION> -o, --overwrite -h, --help Printhelp information -V, --version Print version information
cat .envFOO=barBAR=bazBAZ=foobarvampire --file .env --prefix /dev/app/ --region us-east-1 --overwrite# outputFile: .envPrefix: /dev/app/Region: us-east-1Overwrite:trueThe following variables will be created:/dev/app/FOO=***/dev/app/BAR=***/dev/app/BAZ=***Would you like to proceed? (n/y)y[ok] parameter updated| Name: /dev/app/FOO| version: 5[ok] parameter updated| Name: /dev/app/BAR| version: 5[ok] parameter created| Name: /dev/app/BAZ| version: 1