Jelajahi Sumber

fixes #209; ecr policy needs authorization token access

Alexander Belanger 5 tahun lalu
induk
melakukan
ccf33ff7b1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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,