Created
December 11, 2024 16:15
-
-
Save muhammad-asn/3852cda840cd9b60553a111ac5134c6a to your computer and use it in GitHub Desktop.
Generate AWS pricing and save to csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -q -O - https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/index.json | jq -r '.offers[].currentVersionUrl' | sed 's/\.json$/.csv/' | wget -x --base="https://pricing.us-east-1.amazonaws.com" --no-host-directories --cut-dirs=3 -i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment