Explorar el Código

fixes #209; ecr policy needs authorization token access

Alexander Belanger hace 5 años
padre
commit
ccf33ff7b1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 	}
 
-	policyArn := "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
+	policyArn := "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryFullAccess"
 
 	_, err = a.IAMService.AttachUserPolicy(&iam.AttachUserPolicyInput{
 		PolicyArn: &policyArn,