diff --git a/mmv1/third_party/terraform/fwprovider/data_source_provider_config_plugin_framework.go b/mmv1/third_party/terraform/fwprovider/data_source_provider_config_plugin_framework.go index 21d0e5b89e6b..8df58c5c4a5b 100644 --- a/mmv1/third_party/terraform/fwprovider/data_source_provider_config_plugin_framework.go +++ b/mmv1/third_party/terraform/fwprovider/data_source_provider_config_plugin_framework.go @@ -10,7 +10,6 @@ import ( "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-provider-google/google/fwmodels" - "github.com/hashicorp/terraform-provider-google/google/fwresource" transport_tpg "github.com/hashicorp/terraform-provider-google/google/transport" ) @@ -18,7 +17,6 @@ import ( var ( _ datasource.DataSource = &GoogleProviderConfigPluginFrameworkDataSource{} _ datasource.DataSourceWithConfigure = &GoogleProviderConfigPluginFrameworkDataSource{} - _ fwresource.LocationDescriber = &GoogleProviderConfigPluginFrameworkModel{} ) func NewGoogleProviderConfigPluginFrameworkDataSource() datasource.DataSource { @@ -56,15 +54,6 @@ type GoogleProviderConfigPluginFrameworkModel struct { TerraformAttributionLabelAdditionStrategy types.String `tfsdk:"terraform_attribution_label_addition_strategy"` } -func (m *GoogleProviderConfigPluginFrameworkModel) GetLocationDescription(providerConfig *transport_tpg.Config) fwresource.LocationDescription { - return fwresource.LocationDescription{ - RegionSchemaField: types.StringValue("region"), - ZoneSchemaField: types.StringValue("zone"), - ProviderRegion: types.StringValue(providerConfig.Region), - ProviderZone: types.StringValue(providerConfig.Zone), - } -} - func (d *GoogleProviderConfigPluginFrameworkDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { resp.TypeName = req.ProviderTypeName + "_provider_config_plugin_framework" }