Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturRibeiro-CX committed Nov 24, 2024
1 parent 9b42138 commit 215ff33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ CxPolicy[result] {

# version after TF AWS 4.0
CxPolicy[result] {
input.document[_].resource.aws_s3_bucket[bucketName]
some document in input.document
acl := document.resource.aws_s3_bucket_acl[name]
split(acl.bucket, ".")[1] == bucketName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ CxPolicy[result] {

# version after TF AWS 4.0
CxPolicy[result] {
input.document[_].resource.aws_s3_bucket[bucketName]
some document in input.document
acl := document.resource.aws_s3_bucket_acl[name]
split(acl.bucket, ".")[1] == bucketName
Expand Down

0 comments on commit 215ff33

Please sign in to comment.