From e19477a19dc8a7d1cfac927fd5f6a1f926e7ed95 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Thu, 1 Jun 2023 13:35:53 -0500 Subject: [PATCH 1/2] aws_connect_security_profile: set correct tags in read --- internal/service/connect/security_profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/connect/security_profile.go b/internal/service/connect/security_profile.go index 2321ecbddb94..27723abc99a1 100644 --- a/internal/service/connect/security_profile.go +++ b/internal/service/connect/security_profile.go @@ -155,7 +155,7 @@ func resourceSecurityProfileRead(ctx context.Context, d *schema.ResourceData, me d.Set("permissions", flex.FlattenStringSet(permissions)) } - SetTagsOut(ctx, resp.SecurityProfile.AllowedAccessControlTags) + SetTagsOut(ctx, resp.SecurityProfile.Tags) return nil } From 4a2a5bdb7151fa278e8313909b768bbd8dce8bf3 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Thu, 1 Jun 2023 13:39:34 -0500 Subject: [PATCH 2/2] add CHANGELOG entry --- .changelog/31716.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/31716.txt diff --git a/.changelog/31716.txt b/.changelog/31716.txt new file mode 100644 index 000000000000..4f843a813c59 --- /dev/null +++ b/.changelog/31716.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_connect_security_profile: Set correct `tags` in state +``` \ No newline at end of file