Policy Packs
Enforce AWS IAM Roles Restrict Access

Policy Setting: AWS > IAM > Role > Policy > Trusted Access > Services

Policies

This policy setting is dependent on the following policy types:

Source

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