@@ -10,15 +10,13 @@ import (
10
10
"github.com/hashicorp/terraform-plugin-framework/diag"
11
11
"github.com/hashicorp/terraform-plugin-framework/types"
12
12
"github.com/hashicorp/terraform-provider-google/google/fwmodels"
13
- "github.com/hashicorp/terraform-provider-google/google/fwresource"
14
13
transport_tpg "github.com/hashicorp/terraform-provider-google/google/transport"
15
14
)
16
15
17
16
// Ensure the data source satisfies the expected interfaces.
18
17
var (
19
18
_ datasource.DataSource = & GoogleProviderConfigPluginFrameworkDataSource {}
20
19
_ datasource.DataSourceWithConfigure = & GoogleProviderConfigPluginFrameworkDataSource {}
21
- _ fwresource.LocationDescriber = & GoogleProviderConfigPluginFrameworkModel {}
22
20
)
23
21
24
22
func NewGoogleProviderConfigPluginFrameworkDataSource () datasource.DataSource {
@@ -56,15 +54,6 @@ type GoogleProviderConfigPluginFrameworkModel struct {
56
54
TerraformAttributionLabelAdditionStrategy types.String `tfsdk:"terraform_attribution_label_addition_strategy"`
57
55
}
58
56
59
- func (m * GoogleProviderConfigPluginFrameworkModel ) GetLocationDescription (providerConfig * transport_tpg.Config ) fwresource.LocationDescription {
60
- return fwresource.LocationDescription {
61
- RegionSchemaField : types .StringValue ("region" ),
62
- ZoneSchemaField : types .StringValue ("zone" ),
63
- ProviderRegion : types .StringValue (providerConfig .Region ),
64
- ProviderZone : types .StringValue (providerConfig .Zone ),
65
- }
66
- }
67
-
68
57
func (d * GoogleProviderConfigPluginFrameworkDataSource ) Metadata (ctx context.Context , req datasource.MetadataRequest , resp * datasource.MetadataResponse ) {
69
58
resp .TypeName = req .ProviderTypeName + "_provider_config_plugin_framework"
70
59
}
0 commit comments