Skip to content

Commit

Permalink
fix: Update CloudWatch log group creation deny policy to use wildcard (
Browse files Browse the repository at this point in the history
…#2267)

Co-authored-by: Bryant Biggs <[email protected]>
  • Loading branch information
Zvikan and bryantbiggs authored Oct 11, 2022
1 parent 7f90184 commit ac4d549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.75.0
rev: v1.76.0
hooks:
- id: terraform_fmt
- id: terraform_validate
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ resource "aws_iam_role" "this" {
{
Action = ["logs:CreateLogGroup"]
Effect = "Deny"
Resource = aws_cloudwatch_log_group.this[0].arn
Resource = "*"
},
]
})
Expand Down

0 comments on commit ac4d549

Please sign in to comment.