.env <-> AWS Parameter Store
- all parameters are stored as
SecureString
.env
is parsed by joho/godotenv
go get -u github.com/yuichiro12/envelope
first of all, configure aws-go-sdk with your preferable way:
https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html
list all parameters in AWS Parameter Store with given path
envelope list /Myservice/MyApp/Dev
create local .env
from Parameter Store:
envelope list /Myservice/MyApp/Dev > .env
apply .env to AWS Parameter Store with given prefix and filepath
envelope apply -f /path/to/.env /Myservice/MyApp/Dev
show diff before applying .env
envelope diff -f /path/to/.env /Myservice/MyApp/Dev