Skip to content

Instantly share code, notes, and snippets.

@MatthewJDavis
Created April 23, 2019 23:30
Show Gist options
  • Select an option

  • Save MatthewJDavis/5d65e61e92af74d7c4683585eb64eb51 to your computer and use it in GitHub Desktop.

Select an option

Save MatthewJDavis/5d65e61e92af74d7c4683585eb64eb51 to your computer and use it in GitHub Desktop.
Policy to allow lambda to tag EC2 objects
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:*"
],
"Resource": "arn:aws:logs:*:*:*"
},
{
"Effect": "Allow",
"Action": "ec2:Describe*",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ec2:CreateTags"
],
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment