Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into invalid_tf_files_in_subfolders
- Loading branch information
Showing
3 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
test/fixture/terraform_13/git_issue_17__tfschema_provider_not_from_prefix/expected/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
data "google_billing_account" "account" { | ||
provider = google-beta | ||
billing_account = "000000-0000000-0000000-000000" | ||
} | ||
|
||
resource "google_billing_budget" "budget" { | ||
provider = "google-beta" | ||
billing_account = data.google_billing_account.account.id | ||
display_name = "Example Billing Budget" | ||
|
||
budget_filter { | ||
projects = ["projects/my-project-name"] | ||
credit_types_treatment = "EXCLUDE_ALL_CREDITS" | ||
services = ["services/24E6-581D-38E5"] # Bigquery | ||
} | ||
|
||
amount { | ||
specified_amount { | ||
currency_code = "USD" | ||
units = "100000" | ||
} | ||
} | ||
|
||
threshold_rules { | ||
threshold_percent = 0.5 | ||
} | ||
threshold_rules { | ||
threshold_percent = 0.9 | ||
spend_basis = "FORECASTED_SPEND" | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
test/fixture/terraform_13/git_issue_17__tfschema_provider_not_from_prefix/input/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
data "google_billing_account" "account" { | ||
provider = google-beta | ||
billing_account = "000000-0000000-0000000-000000" | ||
} | ||
|
||
resource "google_billing_budget" "budget" { | ||
provider = "google-beta" | ||
billing_account = data.google_billing_account.account.id | ||
display_name = "Example Billing Budget" | ||
|
||
budget_filter { | ||
projects = ["projects/my-project-name"] | ||
credit_types_treatment = "EXCLUDE_ALL_CREDITS" | ||
services = ["services/24E6-581D-38E5"] # Bigquery | ||
} | ||
|
||
amount { | ||
specified_amount { | ||
currency_code = "USD" | ||
units = "100000" | ||
} | ||
} | ||
|
||
threshold_rules { | ||
threshold_percent = 0.5 | ||
} | ||
threshold_rules { | ||
threshold_percent = 0.9 | ||
spend_basis = "FORECASTED_SPEND" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters