File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,7 @@ data "aws_iam_policy_document" "fme_access_to_s3" {
115115 " s3:GetObjectVersion" ,
116116 ]
117117 resources = [
118- " ${ module . raw_zone . bucket_arn } /*" ,
119- " ${ module . refined_zone . bucket_arn } /*" ,
120- " ${ module . trusted_zone . bucket_arn } /*" ,
118+ " ${ module . raw_zone . bucket_arn } /unrestricted/*" ,
121119 " ${ module . athena_storage . bucket_arn } /primary/*"
122120 ]
123121 }
@@ -128,8 +126,7 @@ data "aws_iam_policy_document" "fme_access_to_s3" {
128126 " s3:PutObject"
129127 ]
130128 resources = [
131- " ${ module . refined_zone . bucket_arn } /*" ,
132- " ${ module . trusted_zone . bucket_arn } /*" ,
129+ " ${ module . raw_zone . bucket_arn } /unrestricted/*" ,
133130 " ${ module . athena_storage . bucket_arn } /primary/*"
134131 ]
135132 }
@@ -144,8 +141,6 @@ data "aws_iam_policy_document" "fme_access_to_s3" {
144141 resources = [
145142 module . athena_storage . kms_key_arn ,
146143 module . raw_zone . kms_key_arn ,
147- module . refined_zone . kms_key_arn ,
148- module . trusted_zone . kms_key_arn
149144 ]
150145 }
151- }
146+ }
You can’t perform that action at this time.
0 commit comments