Policy Packs
Enforce Trusted Access for ACLs on AWS S3 Buckets

Policy Setting: AWS > S3 > Bucket > ACL > Trusted Access > Canonical IDs

Policies

This policy setting is dependent on the following policy types:

Source

resource "turbot_policy_setting" "aws_s3_bucket_acl_trusted_canonical_ids" {
resource = turbot_policy_pack.main.id
type = "tmod:@turbot/aws-s3#/policy/types/bucketAclTrustedCanonicalIds"
# Your trusted canonical IDs
value = <<-EOT
- "1111222233334444555566667777888899990000abcd88889999008888999900"
- "1111222233334444555566667777888899990000wxyz88889999008888999900"
EOT
}