You want to run the loop while the value of AMI_STATE is equal to pending … so write just that. while AMI_STATE=$(aws ec2 describe-images ...
確定! 回上一頁