Skip to content

Commit

Permalink
Remove google_project_service from runtimeconfig test (hashicorp#4586) (
Browse files Browse the repository at this point in the history
hashicorp#3051)

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Mar 12, 2021
1 parent 5d548a3 commit 34c12df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .changelog/4586.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
8 changes: 0 additions & 8 deletions google-beta/data_source_runtimeconfig_variable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,18 @@ func TestAccRuntimeconfigVariableDatasource_basic(t *testing.T) {

func testAccRuntimeconfigDatasourceVariable(suffix string, name string, text string) string {
return fmt.Sprintf(`
resource "google_project_service" "default" {
service = "runtimeconfig.googleapis.com"
}
resource "google_runtimeconfig_config" "default" {
project = google_project_service.default.project
name = "runtime-%s"
description = "runtime-%s"
depends_on = [ google_project_service.default ]
}
resource "google_runtimeconfig_variable" "default" {
project = google_project_service.default.project
parent = google_runtimeconfig_config.default.name
name = "%s"
text = "%s"
}
data "google_runtimeconfig_variable" "default" {
project = google_project_service.default.project
name = google_runtimeconfig_variable.default.name
parent = google_runtimeconfig_config.default.name
}
Expand Down
2 changes: 1 addition & 1 deletion google-beta/resource_dataflow_flex_template_job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
compute "google.golang.org/api/compute/v1"
"google.golang.org/api/compute/v1"
)

func TestAccDataflowFlexTemplateJob_basic(t *testing.T) {
Expand Down

0 comments on commit 34c12df

Please sign in to comment.