Is the recommended way to manage a GCP Container R...
# google-cloud
p
Is the recommended way to manage a GCP Container Registry
gcp.container.getRegistryRepository
? or is there a first-class resource like Azure’s
azure.containerservice.Registry
?
b
Hi @prehistoric-account-60014 Can you give me an example of what you mean?
p
As you can see in these lines (https://github.com/pulumi/examples/blob/8b7bcb101c9f1edcf1f3c7ab989209ada358341f/azure-ts-appservice-docker/index.ts#L51-L55) you can create a
azure.containerservices.Registry
resource and subsequently access the registry URL as shown in this line (https://github.com/pulumi/examples/blob/8b7bcb101c9f1edcf1f3c7ab989209ada358341f/azure-ts-appservice-docker/index.ts#L58) I was wondering if with GCP, one could do something similar. The only reference to the registry I saw was https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/gcp/container/#getRegistryRepository After looking more into it though, I realized that in GCP there is a registry for the entire project and you can’t create individual registries like you can in Azure. For this reason, it seems reasonable that there’s no equivalent resource for GCP.
👍 2