> For the complete documentation index, see [llms.txt](https://docs.teleskope.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.teleskope.ai/connectors/aws/sqs.md).

# SQS

## Requirements

| Name           | Description                                                                    |
| -------------- | ------------------------------------------------------------------------------ |
| Teleskope Role | Attach SQS read and/or write permissions to the Teleskope IAM role you created |

{% stepper %}
{% step %}
**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.

**Terraform**

```
resource "aws_iam_role_policy_attachment" "sqs_policy" {
  role       = "TeleskopeRole"
  policy_arn = "arn:aws:iam::aws:policy/AmazonSQSReadOnlyAccess"
}
```

{% endstep %}

{% step %}
**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.

**Terraform**

```
resource "aws_iam_role_policy_attachment" "sqs_policy" {
  role       = "TeleskopeRole"
  policy_arn = "arn:aws:iam::aws:policy/AmazonSQSFullAccess"
}
```

{% endstep %}
{% endstepper %}
