Skip to content

Commit

Permalink
fixup! feat: add logging_config
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense committed Jan 12, 2024
1 parent 05f131e commit 161e1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ data "aws_iam_policy_document" "logs" {
effect = "Allow"

actions = compact([
!var.use_existing_cloudwatch_log_group && var.attach_create_log_group_permission ? "logs:CreateLogGroup" : "",
!var.use_existing_cloudwatch_log_group && var.logging_log_group == null && var.attach_create_log_group_permission ? "logs:CreateLogGroup" : "",
"logs:CreateLogStream",
"logs:PutLogEvents"
])
Expand Down

0 comments on commit 161e1cc

Please sign in to comment.