Skip to content

Commit

Permalink
Improve rule S6249: fix Terraform code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
GabinL21 committed Nov 14, 2024
1 parent 6f73b3f commit 70203ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/S6249/terraform/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ resource "aws_s3_bucket_policy" "mynoncompliantbucketpolicy" {
} # secondary location: only one principal is forced to use https
Action = "s3:*"
Resource = [
aws_s3_bucket.mynoncompliantbucketpolicy.arn,
"${aws_s3_bucket.mynoncompliantbucketpolicy.arn}/*",
aws_s3_bucket.mynoncompliantbucket.arn,
"${aws_s3_bucket.mynoncompliantbucket.arn}/*",
]
Condition = {
Bool = {
Expand Down

0 comments on commit 70203ee

Please sign in to comment.