Skip to content

iann0036/aws-bill-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Bill Export

"something monstrous"

Downloads AWS bills from the console programmatically.

Installation

Launch Stack

Click the above link to deploy the stack to your environment.

If you prefer, you can also manually upsert the template.yml stack from source.

Currently, the only tested region is us-east-1.

Usage

The stack outputs a base URL you can use to make calls. The following calls can be made:

Show complete bill contents

https://<baseurl>/completebill.json?month=3&year=2020

Show the invoice list

https://<baseurl>/invoicelist.json?month=3&year=2020

Show linked account bills

https://<baseurl>/linkedaccountbillsummary.json?month=3&year=2020

Generate and download an invoice

https://<baseurl>/generate.json?invoiceNumber=12345&invoiceGroupId=12345"
https://<baseurl>/download.pdf?invoiceNumber=12345&invoiceGroupId=12345"

Notes

  • Authentication and/or authorization is anonymous by default, and a basic IAM authentication/authorization is available via the AuthorizationType . Configuring this to match your environment is left as an exercise for you.
  • You have to keep puppeteer-core and @sparticuz/chromium in sync if you update packages. See the sparticuz/chromium readme for instructions.

About

Download AWS bills from the console programmatically.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •