浏览代码

fixes #209; ecr policy needs authorization token access

Alexander Belanger 5 年之前
父节点
当前提交
ccf33ff7b1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cli/cmd/providers/aws/agent.go

+ 1 - 1
cli/cmd/providers/aws/agent.go

@@ -134,7 +134,7 @@ func (a *Agent) CreateIAMECRUser(region string) (*PorterAWSCredentials, error) {
 		name = *user.UserName
 		name = *user.UserName
 	}
 	}
 
 
-	policyArn := "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
+	policyArn := "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryFullAccess"
 
 
 	_, err = a.IAMService.AttachUserPolicy(&iam.AttachUserPolicyInput{
 	_, err = a.IAMService.AttachUserPolicy(&iam.AttachUserPolicyInput{
 		PolicyArn: &policyArn,
 		PolicyArn: &policyArn,