From 9fc16ec64e0bc068f093446282137f02ef81135f Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Wed, 17 Jul 2024 16:11:30 -0700 Subject: [PATCH] Fixup: Remove attrTypes This shouldn't be required, and it's no longer used. This was accidentally left over from a rebase that was from a different PR. --- internal/provider/waypoint/resource_waypoint_template.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/internal/provider/waypoint/resource_waypoint_template.go b/internal/provider/waypoint/resource_waypoint_template.go index 6fc257d07..ba7805a73 100644 --- a/internal/provider/waypoint/resource_waypoint_template.go +++ b/internal/provider/waypoint/resource_waypoint_template.go @@ -12,7 +12,6 @@ import ( "github.com/hashicorp/hcp-sdk-go/clients/cloud-waypoint-service/preview/2023-08-18/client/waypoint_service" waypoint_models "github.com/hashicorp/hcp-sdk-go/clients/cloud-waypoint-service/preview/2023-08-18/models" "github.com/hashicorp/terraform-plugin-framework-validators/listvalidator" - "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" @@ -62,13 +61,6 @@ type tfcWorkspace struct { TerraformProjectID types.String `tfsdk:"terraform_project_id"` } -func (t tfcWorkspace) attrTypes() map[string]attr.Type { - return map[string]attr.Type{ - "name": types.StringType, - "terraform_project_id": types.StringType, - } -} - type tfcNoCodeModule struct { Source types.String `tfsdk:"source"` Version types.String `tfsdk:"version"`