diff options
author | Graham Christensen <graham@grahamc.com> | 2020-10-30 11:40:58 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2020-10-30 12:08:01 -0400 |
commit | e253de8a772d8c73173807fef2e82ebce59c5153 (patch) | |
tree | 1d95c11738de402527952dd5bf2c4f614131012f /nixos/maintainers | |
parent | f92a883ddb2e26e34244cf764fbfa63a4e580afa (diff) |
create-amis.sh: log the full response if describing the import snapshot tasks fails
Diffstat (limited to 'nixos/maintainers')
-rwxr-xr-x | nixos/maintainers/scripts/ec2/create-amis.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/maintainers/scripts/ec2/create-amis.sh b/nixos/maintainers/scripts/ec2/create-amis.sh index 6cac4bb58d51..d8bdf022d616 100755 --- a/nixos/maintainers/scripts/ec2/create-amis.sh +++ b/nixos/maintainers/scripts/ec2/create-amis.sh @@ -126,6 +126,8 @@ wait_for_import() { ;; *) 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 ;; esac |