Keeping AWS ECS updated with Parameter Store

Image Credits: https://aws.amazon.com/ecs/
aws ec2 describe-images --owners amazon --filters "Name=name,Values=amzn*" --query 'sort_by(Images, &CreationDate)[].Name' | grep amzn2
aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2 --region eu-west-1

aws ssm get-parameters --names /aws/service/ecs/optimized-ami/amazon-linux/recommended --region eu-west-1
Parameters :  
EcsAmiId:
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>'
Default: /aws/service/ecs/optimized-ami/amazon-linux/recommended/image_id

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store