Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GCP Types for Artifact registry

Team,

We are creating artifact registry using deployment manager. From where we can get GCP-types for the same . Also share if there is any template.

We are getting below error while using of type gcp-types/artifactregistry-v1beta2.Repository.

ERROR: (gcloud.deployment-manager.deployments.create) Error in Operation [operation-1683208946032-5fade9f4fa0b1-dca01ee2-ce738f2a]: errors: - code: RESOURCE_NOT_FOUND message: The type [gcp-types/artifactregistry-v1beta2.Repository] was not found. 

0 3 245
3 REPLIES 3

@Esmy123 

Can you try

gcp-types/artifactregistry-v1beta2:projects.locations.repositories

resources:
- name: my-repository
type: gcp-types/artifactregistry-v1beta2:projects.locations.repositories
properties:
parent: projects/project/locations/us-central1
repositoryId: repo name

Its now working @VishalBulbule 

Esmy123_0-1683264833474.png

 

Is there any documentation where I can see which properties are possible to use in gcp-types/artifactregistry-v1beta2:projects.locations.repositories?