mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
create-amis: use jq instead of json
This commit is contained in:
parent
3800b21be9
commit
49d608ac00
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ for type in $types; do
|
|||
ami=$(aws ec2 copy-image \
|
||||
--region "$region" \
|
||||
--source-region "$prevRegion" --source-image-id "$prevAmi" \
|
||||
--name "$name" --description "$description" | json -q .ImageId)
|
||||
--name "$name" --description "$description" | jq -r '.ImageId')
|
||||
if [ "$ami" = null ]; then break; fi
|
||||
else
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue