Procházet zdrojové kódy

fixes #209; ecr policy needs authorization token access

Alexander Belanger před 5 roky
rodič
revize
ccf33ff7b1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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,