Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit ecffd42

Browse files
committed
Download previous generation
1 parent 6e47970 commit ecffd42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

download.sh

+2
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ ts=`date +%s`
77
for region in `curl 'https://a0.p.awsstatic.com/pricing/1.0/ec2/manifest.json?timestamp=1593164829522' | jq -r '.ec2[]'`; do
88

99
curl "https://a0.p.awsstatic.com/pricing/1.0/ec2/region/$region/ondemand/linux/index.json?timestamp=$ts" -o data/$region-ondemand.json
10+
11+
curl "https://a0.p.awsstatic.com/pricing/1.0/ec2/region/$region/previous-generation/ondemand/linux/index.json?timestamp=$ts" -o data/$region-ondemand-previous-generation.json
1012
done

0 commit comments

Comments
 (0)