Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@frudo# aws autoscaling describe-auto-scaling-groups --auto-scaling-group-names asg-name --query 'length(AutoScalingGroups[0].Instances[?HealthStatus==`Healthy`])'
- 3
- root@frudo# count=`aws autoscaling describe-auto-scaling-groups --auto-scaling-group-names asg-name --query 'length(AutoScalingGroups[0].Instances[?HealthStatus==`Healthy`])'`
- bash: command substitution: line 1: unexpected EOF while looking for matching `''
- bash: command substitution: line 2: syntax error: unexpected end of file
- bash: command substitution: line 1: syntax error near unexpected token `)'
- bash: command substitution: line 1: `])''
Add Comment
Please, Sign In to add comment