Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 673 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 673 Bytes

Need: Difficult to identity which instances are having the biggest impact on your GCP bill.

Feature: Function to label compute instances by instance {name,id} so they can be viewed inside a billing export or primitively from the group spending by labels in the Billing > Reports page.

Benefit: Now you can better identify costly instances.

How to deploy

Install Terraform

Edit input.tf to reflect your project name aka PROJECT_ID from gcloud projects list and bucket to stage the function.

terraform {init,plan,apply}