create-amis.sh: log the full response if describing the import snapshot tasks fails
This commit is contained in:
parent
f92a883ddb
commit
e253de8a77
@ -126,6 +126,8 @@ wait_for_import() {
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
log "Unexpected snapshot import state: '${state}'"
|
log "Unexpected snapshot import state: '${state}'"
|
||||||
|
log "Full response: "
|
||||||
|
aws ec2 describe-import-snapshot-tasks --region "$region" --import-task-ids "$task_id" >&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user