Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include name of bucket as label for cost analysis #20

Merged

Conversation

naseemkullah
Copy link
Contributor

If we create numerous buckets with a single instance of this module they will all have the same labels as it stands today.

When exporting cost metrics to bigquery we may want to distinguish the cost per bucket.

When performing cost queries, labels are the way to group resources today (unfortunately we cannot query on bucket name), adding the unique name as a label is a good way to perform a query on a single bucket with regards to its' cost. Until Big Query cost analysis let's us query on the bucket name, this is a workaround.

Thoughts?

Copy link
Contributor

@morgante morgante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@morgante morgante merged commit 9189756 into terraform-google-modules:master Nov 7, 2019
@naseemkullah
Copy link
Contributor Author

my pleasure @morgante !

@naseemkullah naseemkullah deleted the add-name-label branch November 7, 2019 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants