Skip to content

Commit

Permalink
Add EC2 status to describe table output.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen James committed Jan 9, 2024
1 parent d7138d9 commit b62914c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aws_describe_instances.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
aws_describe_instances() {
aws \
ec2 describe-instances \
--query 'Reservations[].Instances[].[InstanceId,InstanceType,PublicIpAddress,Tags[?Key==`Name`]| [0].Value]' \
--query 'Reservations[].Instances[].[InstanceId,InstanceType,PublicIpAddress,State.Name,Tags[?Key==`Name`]| [0].Value]' \
--output table
}

Expand Down

0 comments on commit b62914c

Please sign in to comment.