Skip to content

Commit

Permalink
Skip provider-defined functions' acc tests in VCR mode
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahFrench committed Mar 11, 2024
1 parent cfe060a commit 031a85c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmv1/third_party/terraform/functions/location_from_id_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (

func TestAccProviderFunction_location_from_id(t *testing.T) {
t.Parallel()
// Skipping due to requiring TF 1.8.0 in VCR systems : https://github.com/hashicorp/terraform-provider-google/issues/17451
acctest.SkipIfVcr(t)

location := envvar.GetTestRegionFromEnv()
locationRegex := regexp.MustCompile(fmt.Sprintf("^%s$", location))
Expand Down
2 changes: 2 additions & 0 deletions mmv1/third_party/terraform/functions/project_from_id_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (

func TestAccProviderFunction_project_from_id(t *testing.T) {
t.Parallel()
// Skipping due to requiring TF 1.8.0 in VCR systems : https://github.com/hashicorp/terraform-provider-google/issues/17451
acctest.SkipIfVcr(t)

projectId := envvar.GetTestProjectFromEnv()
projectIdRegex := regexp.MustCompile(fmt.Sprintf("^%s$", projectId))
Expand Down

0 comments on commit 031a85c

Please sign in to comment.