Skip to content

Commit

Permalink
Fix google-private import path (GoogleCloudPlatform#7805)
Browse files Browse the repository at this point in the history
  • Loading branch information
zli82016 authored and Madhura Phadnis committed Apr 27, 2023
1 parent e23a7e8 commit dc1d3cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mmv1/provider/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def replace_import_path(output_folder, target)
tpg = 'github.com/hashicorp/terraform-provider-google-beta'
dir = 'google-beta'
else
tpg = 'github.com/hashicorp/terraform-provider-google-private'
tpg = 'internal/terraform-next'
dir = 'google-private'
end

Expand Down
2 changes: 1 addition & 1 deletion tpgtools/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func main() {
terraformProviderModule = "github.com/hashicorp/terraform-provider-google/google"
} else if *version == ALPHA_VERSION {
terraformResourceDirectory = "google-private"
terraformProviderModule = "github.com/hashicorp/terraform-provider-google-private"
terraformProviderModule = "internal/terraform-next"
}

generatedResources := make([]*Resource, 0, len(resourcesForVersion))
Expand Down

0 comments on commit dc1d3cc

Please sign in to comment.