Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ data "aws_iam_policy_document" "cloudwatch-log-group" {
}

statement {
actions = ["logs:CreateLogGroup"]
resources = [aws_cloudwatch_log_group.this.arn]
}

statement {
# CreateLogGroup stays here until the 2027-04-26 CloudWatch Logs ARN change
# has rolled out in every region; until then it is authorized via the `:*` ARN.
actions = ["logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents"]
resources = ["${aws_cloudwatch_log_group.this.arn}:*"]
}
Expand Down
Loading