Skip to content

Commit

Permalink
Merge pull request #15 from tetsuya28/fix-lambda-policy
Browse files Browse the repository at this point in the history
Fix Lambda policy
  • Loading branch information
tetsuya28 authored Jan 1, 2024
2 parents 0eca932 + d1767f0 commit c2f5ada
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions module/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ EOF
resource "aws_iam_policy" "this" {
name = var.name
path = "/"
description = "IAM policy for logging from a lambda"
description = "IAM policy for lambda"
policy = <<EOF
{
"Version": "2012-10-17",
Expand All @@ -96,7 +96,8 @@ resource "aws_iam_policy" "this" {
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents",
"ce:*"
"ce:*",
"account:GetContactInformation"
],
"Resource": "*",
"Effect": "Allow"
Expand Down

0 comments on commit c2f5ada

Please sign in to comment.