Help us shape the future of Go! Take the 2026 Go Developer Survey

prices

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Command prices builds pogi's embedded price lists from the clouds' official price lists. A maintainer runs it before a release; it is not part of the pogi binary.

go run ./scripts/prices -cloud aws                       # writes internal/cost/prices/aws.json.gz
go run ./scripts/prices -cloud azure -regions eastus     # one region, for a quick try

AWS reads the public Price List bulk files. Azure reads the public Retail Prices API, and VM sizes with "az vm list-skus" (an az login). Google Cloud reads the Cloud Billing Catalog API and machine types with gcloud (a gcloud login). Downloads are kept in -cache between runs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL