Policy Packs
Enforce Trusted Access for Policies on AWS S3 Buckets

Policy Setting: AWS > S3 > Bucket > Policy > Trusted Access > Organization Path Restrictions

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_s3_bucket_policy_trusted_organization_paths" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-s3#/policy/types/bucketPolicyTrustedOrganizationPaths"
value = <<-EOT
- "o-c3a5x8sd31/r-wxnb/ou-wxnb-dasdtpaq/ou-*"
- "o-c3a5x8sd11/r-wxnb/ou-wxnb-dfadtpaq/*"
EOT
}