Skip to content

Commit 9ed5d34

Browse files
authored
Merge pull request #2072 from za/issue-2070-gcp-hardcode-project-id
2 parents f1f59de + 0bab7e4 commit 9ed5d34

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

gcp/wrongsecrets_gcp_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ func TestTerraformWrongSecretsGCP(t *testing.T) {
2424
terraformOptions := terraform.WithDefaultRetryableErrors(t, &terraform.Options{
2525
// The path to where our Terraform code is located
2626
TerraformDir: "../gcp",
27-
Vars: map[string]interface{}{
28-
"region": "europe-west4",
29-
"project_id": "owasp-wrongsecrets",
30-
},
27+
VarFiles: []string{"../gcp/terraform.tfvars"},
3128
})
3229

3330
// At the end of the test, run `terraform destroy` to clean up any resources that were created.

0 commit comments

Comments
 (0)