From 05334b22bfcb7297d7b924cbfbe815330f8a1b14 Mon Sep 17 00:00:00 2001 From: Isaac Bi Date: Fri, 16 Feb 2024 11:18:05 -0800 Subject: [PATCH] Add CHANGELOG entry --- .changelog/35861.txt | 3 +++ internal/service/sqs/attribute_funcs.go | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changelog/35861.txt diff --git a/.changelog/35861.txt b/.changelog/35861.txt new file mode 100644 index 00000000000..645eac267ca --- /dev/null +++ b/.changelog/35861.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_sqs_queue_policy: Retry IAM eventual consistency errors +``` \ No newline at end of file diff --git a/internal/service/sqs/attribute_funcs.go b/internal/service/sqs/attribute_funcs.go index 2060659e995..ddbb91c326b 100644 --- a/internal/service/sqs/attribute_funcs.go +++ b/internal/service/sqs/attribute_funcs.go @@ -5,6 +5,8 @@ package sqs import ( "context" + "log" + "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/sqs" "github.com/aws/aws-sdk-go-v2/service/sqs/types" @@ -16,7 +18,6 @@ import ( "github.com/hashicorp/terraform-provider-aws/internal/flex" "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/internal/verify" - "log" ) type queueAttributeHandler struct {