From 5e07cada98fdc338c9a6fa8184bf710ef89efe53 Mon Sep 17 00:00:00 2001 From: artaasadi Date: Sun, 10 Nov 2024 02:35:27 +0100 Subject: [PATCH] fix: fix wrappers --- provider/describer/appconfig.go | 1 + provider/describer/glue.go | 4 ++-- provider/describer/waf.go | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/provider/describer/appconfig.go b/provider/describer/appconfig.go index cb673691..1eeadd61 100755 --- a/provider/describer/appconfig.go +++ b/provider/describer/appconfig.go @@ -3,6 +3,7 @@ package describer import ( "context" "fmt" + "github.com/opengovern/og-describer-aws/pkg/sdk/models" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/appconfig" diff --git a/provider/describer/glue.go b/provider/describer/glue.go index 3abe23d0..c9bfeabe 100755 --- a/provider/describer/glue.go +++ b/provider/describer/glue.go @@ -129,8 +129,8 @@ func glueCatalogTableHandle(ctx context.Context, client *lakeformation.Client, t params := &lakeformation.GetResourceLFTagsInput{ CatalogId: table.CatalogId, ShowAssignedLFTags: aws.Bool(true), - Resource: &lakeformationTypes.models.Resource, { - Table: &lakeformationTypes.Tablemodels.Resource{ + Resource: &lakeformationTypes.Resource{ + Table: &lakeformationTypes.TableResource{ CatalogId: table.CatalogId, DatabaseName: table.DatabaseName, Name: table.Name, diff --git a/provider/describer/waf.go b/provider/describer/waf.go index 5121500c..81555fcd 100755 --- a/provider/describer/waf.go +++ b/provider/describer/waf.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" - "github.com/turbot/steampipe-plugin-sdk/v5/plugin" "github.com/opengovern/og-describer-aws/pkg/sdk/models" + "github.com/turbot/steampipe-plugin-sdk/v5/plugin" "github.com/aws/smithy-go" @@ -1267,7 +1267,7 @@ func wAFRuleHandle(ctx context.Context, cfg aws.Config, roleId string) (models.R return models.Resource{}, err } tags = &waf.ListTagsForResourceOutput{ - TagInfoForResource: &waftypes.TagInfoFormodels.Resource{}, + TagInfoForResource: &waftypes.TagInfoForResource{}, } }