Skip to content

Commit

Permalink
Add ImageScan actions to iam roles (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
nexeck authored and aknysh committed Dec 5, 2019
1 parent cc831ee commit 1ec45f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ data "aws_iam_policy_document" "resource_readonly_access" {
"ecr:ListImages",
"ecr:DescribeImages",
"ecr:BatchGetImage",
"ecr:DescribeImageScanFindings",
]
}
}
Expand Down Expand Up @@ -119,6 +120,8 @@ data "aws_iam_policy_document" "resource_full_access" {
"ecr:ListImages",
"ecr:DescribeImages",
"ecr:BatchGetImage",
"ecr:DescribeImageScanFindings",
"ecr:StartImageScan",
]
}
}
Expand Down

0 comments on commit 1ec45f0

Please sign in to comment.