Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example Dependabot + CodeCommit IAM Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "0",
"Effect": "Allow",
"Action": [
"codecommit:CreateBranch",
"codecommit:GetCommit",
"codecommit:GetRepository",
"codecommit:BatchGetCommits",
"codecommit:GetBranch",
"codecommit:ListPullRequests",
"codecommit:GetFolder",
"codecommit:CreatePullRequest",
"codecommit:CreateCommit",
"codecommit:GetPullRequest",
"codecommit:GetFile"
],
"Resource": "arn:aws:codecommit:us-east-1:012345678901:myaws-codecommit-repo",
"Condition": {
"BoolIfExists": {
"aws:MultiFactorAuthPresent": "true"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.