Artifact Registry Repository

Artifact Registry Repository in GCP is a managed service for storing and managing build artifacts such as container images, language packages, and other dependencies. It provides secure, scalable, and regional storage with fine-grained access control and integration with CI/CD pipelines. This helps teams centralize artifact management, improve security, and streamline software delivery.

gcp.artifactregistry_repository

Fields

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
cleanup_policy_dry_runcoreboolOptional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
create_timecoretimestampOutput only. The time when the repository was created.
datadog_display_namecorestring
descriptioncorestringThe user-provided description of the repository.
disallow_unspecified_modecoreboolOptional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.
docker_configcorejsonDocker repository config contains repository level configuration for the repositories of docker type.
formatcorestringOptional. The format of packages that are stored in the repository.
kms_key_namecorestringThe Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be changed after the Repository has been created.
labelscorearray<string>Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.
maven_configcorejsonMaven repository config contains repository level configuration for the repositories of maven type.
modecorestringOptional. The mode of the repository.
namecorestringThe name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
registry_uricorestringOutput only. The repository endpoint, for example: `us-docker.pkg.dev/my-proj/my-repo`.
remote_repository_configcorejsonConfiguration specific for a Remote Repository.
resource_namecorestring
satisfies_pzicoreboolOutput only. Whether or not this repository satisfies PZI.
satisfies_pzscoreboolOutput only. Whether or not this repository satisfies PZS.
size_bytescoreint64Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.
tagscorehstore
update_timecoretimestampOutput only. The time when the repository was last updated.
virtual_repository_configcorejsonConfiguration specific for a Virtual Repository.
vulnerability_scanning_configcorejsonOptional. Config and state for vulnerability scanning of resources within this Repository.