1 Answer
- Newest
- Most votes
- Most comments
0
According to the docs, the /latest is the only public AMI parameters. You can always use the CLI:
aws ec2 describe-images --filters 'Name=name,Values=amzn2-ami-ecs-hvm-2.0.20220121-x86_64-ebs' Name=owner-alias,Values=amazon --query Images[*].ImageId --output text --region us-east-2
Relevant content
- asked 3 years ago
- asked a year ago
- AWS OFFICIALUpdated 9 months ago

Can you point me to where you see this in the documentation? I appreciate the answer and will look into this some more. I'd like to understand how to navigate the documentation around this more and where to find what you are referencing.
See: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-public-parameters-ami.html
And yeah, you can get the latest ami if you remove the date from the ami name alias , for example in this case: amzn2-ami-ecs-hvm-2.0.20220121-x86_64-ebs without date would be : amzn2-ami-ecs-hvm--x86_64-ebs