https://pulumi.com logo
#general
Title
# general
f

full-dress-10026

05/17/2019, 7:36 PM
Can you create a Container Registry in GCP using Pulumi? I can't seem to find a resource that will do that.
b

billowy-garage-68819

05/17/2019, 7:48 PM
That's not a creation but a data reference object
f

full-dress-10026

05/17/2019, 7:52 PM
It appears that I can just push directly to the container registry without creating anything.
Still need a way to get the auth creds for the gcp registry.
w

white-balloon-205

05/17/2019, 11:06 PM
You can use https://pulumi.io/reference/pkg/nodejs/@pulumi/gcp/container/#getRegistryRepository to get the reporistory reference. I believe for credentials, GCP more or less requires that you install their credentials helper: https://cloud.google.com/container-registry/docs/advanced-authentication