Skip to content

Instantly share code, notes, and snippets.

@astuyve
Created January 17, 2024 15:00
Show Gist options
  • Save astuyve/613f521e3ae82d2772791a4963763031 to your computer and use it in GitHub Desktop.
Save astuyve/613f521e3ae82d2772791a4963763031 to your computer and use it in GitHub Desktop.
Deny cloudwatch permissions from Lambda to save money
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": [
"arn:aws:logs:*:*:*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment