diff --git a/terraform/aws/analytical-platform-development/control-panel-message-broker/data.tf b/terraform/aws/analytical-platform-development/control-panel-message-broker/data.tf index dc86384272..ccc19a6cdc 100644 --- a/terraform/aws/analytical-platform-development/control-panel-message-broker/data.tf +++ b/terraform/aws/analytical-platform-development/control-panel-message-broker/data.tf @@ -19,19 +19,10 @@ data "aws_iam_policy_document" "source" { } data "aws_iam_policy_document" "sqs_iam" { source_policy_documents = [data.aws_iam_policy_document.source.json] - statement { - resources = [aws_sqs_queue.iam.arn] - } } data "aws_iam_policy_document" "sqs_s3" { source_policy_documents = [data.aws_iam_policy_document.source.json] - statement { - resources = [aws_sqs_queue.s3.arn] - } } data "aws_iam_policy_document" "sqs_auth" { source_policy_documents = [data.aws_iam_policy_document.source.json] - statement { - resources = [aws_sqs_queue.auth.arn] - } }