完了確認
「Cloud9環境名"handson-cli-env"が存在しない。」ことを確認します。
コマンド:
for i in \
$(
aws cloud9 list-environments \
--query "environmentIds" \
--output text
)
do
aws cloud9 describe-environments \
--environment-ids ${i} \
--query "environments[? \
name == \`${CLOUD9_ENVIRONMENT_NAME}\` \
&& ownerArn == \`${cloud9_environment_owner_arn}\` \
].name" \
--output text
done
結果(例):