Skip to content

Commit

Permalink
Made billing budget filter labels updatable (GoogleCloudPlatform#5545)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuyama1 authored and xuchenma committed Jan 7, 2022
1 parent bbbc055 commit 88ea875
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions mmv1/products/billingbudget/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
default_from_api: true
update_mask_fields:
- "budgetFilter.projects"
- "budgetFilter.labels"
budgetFilter.services: !ruby/object:Overrides::Terraform::PropertyOverride
default_from_api: true
budgetFilter.subaccounts: !ruby/object:Overrides::Terraform::PropertyOverride
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ resource "google_billing_budget" "budget" {
budget_filter {
projects = ["projects/${data.google_project.project.number}"]
labels = {
label = "bar"
}
}
amount {
Expand Down Expand Up @@ -173,6 +176,7 @@ resource "google_billing_budget" "budget" {
budget_filter {
projects = []
labels = {}
}
amount {
Expand Down Expand Up @@ -218,6 +222,9 @@ resource "google_billing_budget" "budget" {
budget_filter {
projects = []
labels = {
label1 = "bar2"
}
}
amount {
Expand Down

0 comments on commit 88ea875

Please sign in to comment.