Skip to content

Commit

Permalink
declaring the arn as an interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
haitchison committed Jan 2, 2024
1 parent c03991e commit 16b0c6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/unit-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ data "aws_iam_policy_document" "instance-scheduler-lambda-function-policy" {
# # consider log group rename to function name or build log group as a separate resource
# format("arn:aws:logs:eu-west-2:%s:aws/lambda/fake", data.aws_caller_identity.current.account_id)
# ]
resources = aws_cloudwatch_log_group.fake.arn
}
resources = [
"${aws_cloudwatch_log_group.fake.arn}"
]
statement {
sid = "AllowLambdaToWriteLogsToGroup"
effect = "Allow"
Expand Down

0 comments on commit 16b0c6b

Please sign in to comment.