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