Skip to content

A Grafana dashboard for AWS billing metrics which is deployable via Terraform

License

Notifications You must be signed in to change notification settings

chaganava1/aws-grafana-billing-dashboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-grafana-billing-dashboard

deploy to grafana

A Grafana dashboard for AWS billing metrics which is deployable via Terraform.

enviroments variables

Rename the file .env_template to .env and fill in the values for the env variables.

Than run the command source .env

Terraform S3 Backend

Run script sh scripts/createS3BackendBucket.sh to create a S3 Bucket, which will store the state of Terraform.

For that Bucket is a User with access and secret key necessary. That will be created with the script sh scripts/createUser4S3BackendBucket.sh . The credentials from the script response needs to put into the .env file. The script createAndAttachS3BackendBucketPolicy.sh creates and assigns the appropriate policy.

local provisioning

Run the Terraform commands.

Terraform

sh scripts/terraformInit.sh

terraform validate

terraform plan

terraform apply

About

A Grafana dashboard for AWS billing metrics which is deployable via Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 59.5%
  • HCL 40.5%