Skip to content

Instantly share code, notes, and snippets.

@emreozkangit
Created January 9, 2021 09:51
Show Gist options
  • Save emreozkangit/cd9eef04674a43d55fb07c02e460aee5 to your computer and use it in GitHub Desktop.
Save emreozkangit/cd9eef04674a43d55fb07c02e460aee5 to your computer and use it in GitHub Desktop.
aws ec2 describe-images \
--filters Name=name,Values=Windows_Server-2019-English-Full-ContainersLatest-2020.09.09 \
--region us-east-2 \
--query 'Images[*].[ImageId]' \
--output=json | jq .[0][0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment