Grant Teleskope Read Access to SQS
Teleskope needs read access to scan and classify your data stored in SQS.
Attach the AmazonSQSReadOnlyAccess to the Teleskope IAM role you created.
resource "aws_iam_role_policy_attachment" "sqs_policy" {
role = "TeleskopeRole"
policy_arn = "arn:aws:iam::aws:policy/AmazonSQSReadOnlyAccess"
}
Grant Teleskope Read & Write Access to SQS (optional)
Teleskope needs write access take enforce remediation policies such as tagging, redaction, deletion, etc.
Attach the AmazonSQSFullAccess to the Teleskope IAM role you created.
resource "aws_iam_role_policy_attachment" "sqs_policy" {
role = "TeleskopeRole"
policy_arn = "arn:aws:iam::aws:policy/AmazonSQSFullAccess"
}