Browse Source

fixes #209; ecr policy needs authorization token access

Alexander Belanger 5 năm trước cách đây
mục cha
commit
ccf33ff7b1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,