Skip to content

Instantly share code, notes, and snippets.

View dazecoop's full-sized avatar

Daze dazecoop

View GitHub Profile
@dazecoop
dazecoop / aws-cli-get-ec2-instance-id-from-name.txt
Created May 17, 2024 10:10
AWS CLI Get EC2 instance ID from instance name
aws ec2 describe-instances --filters 'Name=tag:Name,Values=NAME_GOES_HERE' --query 'Reservations[].Instances[].[InstanceId][0][0]'