From 15c97968975c24f797915b71fdf65120c02b7023 Mon Sep 17 00:00:00 2001 From: Ryan Oaks Date: Wed, 8 Jan 2025 12:30:26 -0500 Subject: [PATCH] Fix import used in constants/network_services_gateway.go.tmpl (#12705) --- .../terraform/constants/network_services_gateway.go.tmpl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mmv1/templates/terraform/constants/network_services_gateway.go.tmpl b/mmv1/templates/terraform/constants/network_services_gateway.go.tmpl index e1607aad1e43..8091efc46a73 100644 --- a/mmv1/templates/terraform/constants/network_services_gateway.go.tmpl +++ b/mmv1/templates/terraform/constants/network_services_gateway.go.tmpl @@ -12,11 +12,7 @@ */ -}} import ( -{{ if eq $.TargetVersionName `ga` }} - tpgcompute "github.com/hashicorp/terraform-provider-google/google/services/compute" -{{- else }} - tpgcompute "github.com/hashicorp/terraform-provider-google-beta/google-beta/services/compute" -{{- end }} + tpgcompute "{{ $.ImportPath }}/services/compute" ) // Checks if there is another gateway under the same location.