Google Artifact Registry PERMISSION_DENIED for projects.locations.operations
Question I’m trying to create a minimal custom role to delete artifacts from Google Artifact Registry for my ServiceAccount. The gcloud command deletes the artifact successfully, but then always fails with PERMISSION_DENIED on the project.locations.operations request. How do I get my ServiceAccount the project.locations.operations.get permission? Details The custom role has the following permissions: artifactregistry.versions.delete, artifactregistry.tags.get, […]
Unable to trigger dry-run audit logs for Google Cloud Artifact Registry cleanup policy
Following the docs available from GCP here: https://cloud.google.com/artifact-registry/docs/repositories/cleanup-policy
gcloud artifacts delete versions/digests not freeing up space in artifact repository
I’m developing a cloud build pipeline that deploys a cloud run job among other tasks and after the whole process is completed I want to clean up the artifact repository so it doesn’t take any more space.