|
@@ -296,7 +296,7 @@ resource "aws_sqs_queue" "config-dlq" {
|
|
|
|
|
|
resource "aws_sqs_queue_policy" "config_bucket_can_publish" {
|
|
|
policy = data.aws_iam_policy_document.sns_topic_config_can_publish.json
|
|
|
- queue_url = aws_sqs_queue.new_s3_object.id
|
|
|
+ queue_url = aws_sqs_queue.new_s3_config_object.id
|
|
|
}
|
|
|
|
|
|
resource "aws_sns_topic_subscription" "config_bucket_change_notification_to_queue" {
|