Skip to content

Commit 34c12df

Browse files
Remove google_project_service from runtimeconfig test (#4586) (#3051)
Signed-off-by: Modular Magician <[email protected]>
1 parent 5d548a3 commit 34c12df

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.changelog/4586.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

google-beta/data_source_runtimeconfig_variable_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,18 @@ func TestAccRuntimeconfigVariableDatasource_basic(t *testing.T) {
2626

2727
func testAccRuntimeconfigDatasourceVariable(suffix string, name string, text string) string {
2828
return fmt.Sprintf(`
29-
resource "google_project_service" "default" {
30-
service = "runtimeconfig.googleapis.com"
31-
}
32-
3329
resource "google_runtimeconfig_config" "default" {
34-
project = google_project_service.default.project
3530
name = "runtime-%s"
3631
description = "runtime-%s"
37-
depends_on = [ google_project_service.default ]
3832
}
3933
4034
resource "google_runtimeconfig_variable" "default" {
41-
project = google_project_service.default.project
4235
parent = google_runtimeconfig_config.default.name
4336
name = "%s"
4437
text = "%s"
4538
}
4639
4740
data "google_runtimeconfig_variable" "default" {
48-
project = google_project_service.default.project
4941
name = google_runtimeconfig_variable.default.name
5042
parent = google_runtimeconfig_config.default.name
5143
}

google-beta/resource_dataflow_flex_template_job_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
1010
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
11-
compute "google.golang.org/api/compute/v1"
11+
"google.golang.org/api/compute/v1"
1212
)
1313

1414
func TestAccDataflowFlexTemplateJob_basic(t *testing.T) {

0 commit comments

Comments
 (0)