https://pulumi.com logo
e

eager-wall-56838

02/14/2022, 6:12 PM
Is there any way to get the docker registry name/id (just
repo1
for example) or even better the registry address (like
<http://us-docker.pkg.dev/p1/repo1/|us-docker.pkg.dev/p1/repo1/>
) from a
gcloud.artifactregistry.v1.Repository
resource? As far as I can tell I can only do
resource.id
which is of the format
projects/p1/locations/us-central1/repositories/repo1
. I realize I could parse this and extract
repo1
but I'm wondering if there's a better way...