Welcome to ssm-env !
This is not an official Reach-Now product.
Substitute SSM parameters in env files.
If you have an env file example.env.tmpl
with the following content:
SECRET=ssm:/com/team/svc
STATIC=bar
Running ssm-env -src example.env.tmpl
will substitute all entries that begin with the prefix ssm:
, resulting in the following output:
SECRET=foo
STATIC=bar
assuming the value of /com/team/svc
in AWS Parameter Store is foo
.
Download a binary from the releases page.
ssm-env
-region string
AWS region
Default: AWS_REGION environment variable
-src string
Source env file path
Default: SRC_PATH environment variable
brew install dep
dep ensure
go run main.go
GOOS=darwin go build
GOOS=linux go build
This project uses GoReleaser.
export GITHUB_TOKEN=`YOUR_GH_TOKEN`
goreleaser