Last active
March 27, 2019 19:12
-
-
Save aldenw/d13ecfee0df154f4c7dc1ab8cbf79799 to your computer and use it in GitHub Desktop.
Ssm to Env export for supervisor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| aws ssm get-parameters-by-path --cli-input-json "{\"Path\": \"$SSM_PATH\", \"Recursive\": true}" --query 'Parameters[*].{Joined:join(`=`,[Name,Value])}' --output text | sed 's:[^=]*/::' |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Converts Ssm parameters into a style
to be exported to environment.
Set or replace
$SSM_PATHvariable.