CHECKSUM
If you're installing this in images, etc., you can verify the following sha256 checksum:
babf40382bcd260f0d8d4575a32d5ec33fb08fefd29f12ffd800fbe738c41021 ssm-env
CHANGES
Initialize AWS session lazily
This allows ssm-env to skip AWS session init and region lookup if there
are no SSM params present in the environment.
In local testing, where no env vars are actually using the ssm:// scheme,
this will avoid throwing errors and allow you to remove the various
workarounds.
This also fixes a bug where ssm-env would crash on the region lookup
when running outside of an AWS env, even if there were no params to
expand and/or if -nofail
was passed.
Statically compile ssm-env
ssm-env is now built statically, so it's portable to environments without
libc available (like alpine).
Add support for versioned SSM params
You can now specify a particular version in an SSM param.
Internal changes
- Update to go 1.16, update deps, simplify CircleCI config