More IAM
This commit is contained in:
parent
c7a74ad068
commit
39b47131ba
14
tf/iam.tf
14
tf/iam.tf
|
@ -19,9 +19,23 @@ data "aws_iam_policy_document" "deploy" {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
statement {
|
||||||
|
actions = [
|
||||||
|
"ecr:DescribeRegistry",
|
||||||
|
]
|
||||||
|
|
||||||
|
resources = [
|
||||||
|
"*",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
statement {
|
statement {
|
||||||
actions = [
|
actions = [
|
||||||
"ecr:BatchGetImage",
|
"ecr:BatchGetImage",
|
||||||
|
"ecr:BatchCheckLayerAvailability",
|
||||||
|
"ecr:DescribeImages",
|
||||||
|
"ecr:DescribeRepositories",
|
||||||
|
"ecr:GetDownloadUrlForLayer",
|
||||||
"ecr:ListImages",
|
"ecr:ListImages",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue