Skip to content

Commit

Permalink
make billing budget filter services updatable (#6335) (#4577)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 5, 2022
1 parent 11a4683 commit 9b3872d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/6335.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
billingbudget: fixed a bug where `google_billing_budget.budget_filter.services` was not updating.
```
3 changes: 2 additions & 1 deletion google-beta/resource_billing_budget.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,8 @@ func resourceBillingBudgetUpdate(d *schema.ResourceData, meta interface{}) error
updateMask = append(updateMask, "budgetFilter.projects",
"budgetFilter.labels",
"budgetFilter.calendarPeriod",
"budgetFilter.customPeriod")
"budgetFilter.customPeriod",
"budgetFilter.services")
}

if d.HasChange("amount") {
Expand Down
1 change: 1 addition & 0 deletions google-beta/resource_billing_budget_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ resource "google_billing_budget" "budget" {
labels = {
label1 = "bar2"
}
services = ["services/24E6-581D-38E5"] # Bigquery
}
amount {
Expand Down

0 comments on commit 9b3872d

Please sign in to comment.