We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0415766 commit b8ed527Copy full SHA for b8ed527
examples/complete/main.tf
@@ -1,4 +1,4 @@
1
-
+# this creates the role/github
2
3
provider "aws" {
4
region = var.region
@@ -131,7 +131,24 @@ resource "aws_iam_policy" "terraform_pike" {
131
"Resource": [
132
"*"
133
]
134
- }
+ },
135
+ {
136
+ "Effect": "Allow",
137
+ "Action": [
138
+ "ecr:CompleteLayerUpload",
139
+ "ecr:UploadLayerPart",
140
+ "ecr:InitiateLayerUpload",
141
+ "ecr:BatchCheckLayerAvailability",
142
+ "ecr:PutImage",
143
+ "ecr:BatchGetImage"
144
+ ],
145
+ "Resource": "arn:aws:ecr:us-east-2:916723593639:swarms/mcs"
146
147
148
149
+ "Action": "ecr:GetAuthorizationToken",
150
+ "Resource": "*"
151
+ }
152
153
}
154
)
0 commit comments