Skip to content

Commit

Permalink
Use a real project for billing budget test (#2900)
Browse files Browse the repository at this point in the history
Merged PR #2900.
  • Loading branch information
emilymye authored and modular-magician committed Jan 2, 2020
1 parent ed947a9 commit 8cddcb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
1 change: 1 addition & 0 deletions products/billingbudget/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
display_name: 'Example Billing Budget'
test_env_vars:
billing_acct: :BILLING_ACCT
project: :PROJECT_NAME
custom_code: !ruby/object:Provider::Terraform::CustomCode
custom_import: templates/terraform/custom_import/self_link_as_name.erb
post_create: templates/terraform/post_create/set_computed_name.erb
Expand Down
2 changes: 1 addition & 1 deletion templates/terraform/examples/billing_budget_filter.tf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "google_billing_budget" "<%= ctx[:primary_resource_id] %>" {
display_name = "<%= ctx[:vars]['display_name'] %>"

budget_filter {
projects = ["projects/example-project"]
projects = ["projects/<%= ctx[:test_env_vars]['project'] -%>"]
credit_types_treatment = "EXCLUDE_ALL_CREDITS"
services = ["services/24E6-581D-38E5"] # Bigquery
}
Expand Down

0 comments on commit 8cddcb7

Please sign in to comment.