From a5946461ff8d66cbbaef4345314c23a307ee1c02 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Wed, 4 Dec 2024 11:07:55 -0500 Subject: [PATCH] r/aws_s3tables_namespace: Fix sweeper. --- internal/service/s3tables/sweep.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/s3tables/sweep.go b/internal/service/s3tables/sweep.go index d0caae2c165..01e7d53314c 100644 --- a/internal/service/s3tables/sweep.go +++ b/internal/service/s3tables/sweep.go @@ -52,7 +52,7 @@ func sweepNamespaces(ctx context.Context, client *conns.AWSClient) ([]sweep.Swee for _, namespace := range page.Namespaces { sweepResources = append(sweepResources, framework.NewSweepResource(newResourceNamespace, client, framework.NewAttribute("table_bucket_arn", aws.ToString(bucket.Arn)), - framework.NewAttribute(names.AttrNamespace, namespace.Namespace), + framework.NewAttribute(names.AttrNamespace, namespace.Namespace[0]), )) } }