Created
August 28, 2018 16:15
-
-
Save mvoropaiev/e92443e879fb54da0f526d6a0ad60e4c to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
aws ssm get-parameters --names /aws/service/ecs/optimized-ami/amazon-linux/recommended --region us-east-1 | jq -r '.Parameters[0].Value | fromjson.image_id' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment