aws_costs

command
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 13 Imported by: 0

README

AWS Costs

This command returns cost data for the month provided at a daily granularity.

Generation
aws-vault exec <aws-profile> -- go run main.go \
    -id <account-id> \
    -name "<name>" \
    -environment "development" \
    -unit "<unit>" \
    -label "<label>" \
    -month "-"
Upload

Upload the generated file by running:

aws-vault exec <aws-profile> -- aws s3 cp \
	--recursive ./data s3://<bucket>/aws_costs \
	--sse AES256
Download
aws-vault exec <aws-profile> -- aws s3 sync s3://<bucket>/aws_costs ./bucket-data

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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