Policy Packs
Enforce AWS SQS Queues Restrict Access

Policy Setting: AWS > SQS > Queue > Policy > Trusted Access > Services

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_sqs_queue_policy_trusted_access_services" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-sqs#/policy/types/queuePolicyTrustedServices"
value = <<-EOT
- "sns.amazonaws.com"
- "ec2.amazonaws.com"
EOT
}