artifact_registry library
Artifact Registry: container / package repository, per-repository IAM.
Format is set at creation time and immutable. Pair format: DOCKER
with ArtifactRegistryRepositoryArtifactRegistryDockerConfig, format: MAVEN with
ArtifactRegistryRepositoryArtifactRegistryMavenConfig. Mode is STANDARD_REPOSITORY (default),
VIRTUAL_REPOSITORY (aggregating proxy), or REMOTE_REPOSITORY
(caching proxy).
Note: google_artifact_registry_vpcsc_config is beta-only; not curated
in v0.8.0-dev. A follow-up PR extends the schema fixture against
terraform-provider-google-beta and adds that resource.
Classes
- ArtifactRegistryRepositoryArtifactRegistryCleanupCondition
-
cleanup_policies.condition-- match versions by tag / age / prefix. At least one of the predicate fields should be set for the condition to be meaningful. - ArtifactRegistryRepositoryArtifactRegistryCleanupMostRecentVersions
-
cleanup_policies.most_recent_versions-- retain the N most recent versions per matched package. Only valid paired withaction == KEEP. - ArtifactRegistryRepositoryArtifactRegistryCleanupPolicy
-
One
cleanup_policiesentry. Each policy pairs an action (KEEP/DELETE) with EXACTLY ONE of condition (tag/age/prefix match) or mostRecentVersions (retain top-N) -- mirrors the API-levelexactly_one_ofconstraint between the two sub-blocks. - ArtifactRegistryRepositoryArtifactRegistryDockerConfig
-
docker_configblock. Applies only when the parent repository'sformatisDOCKER; ignored for other formats. - ArtifactRegistryRepositoryArtifactRegistryMavenConfig
-
maven_configblock. Applies only when the parent repository'sformatisMAVEN; ignored for other formats. - ArtifactRegistryRepositoryArtifactRegistryRemoteAptPublicRepository
-
remote_repository_config.apt_repository.public_repository. - ArtifactRegistryRepositoryArtifactRegistryRemoteAptRepository
-
remote_repository_config.apt_repositoryblock. - ArtifactRegistryRepositoryArtifactRegistryRemoteCommonRepository
-
remote_repository_config.common_repository-- generic upstream by URI. Mutually exclusive with the format-specific*_repositoryblocks (see ArtifactRegistryRepositoryArtifactRegistryRemoteRepositoryConfig.advancedExtra). - ArtifactRegistryRepositoryArtifactRegistryRemoteCustomRepository
-
Deprecated
custom_repositorynested under docker / maven / npm remote blocks. PrefercommonRepositoryfor new stacks. - ArtifactRegistryRepositoryArtifactRegistryRemoteDockerRepository
-
remote_repository_config.docker_repositoryblock. - ArtifactRegistryRepositoryArtifactRegistryRemoteMavenRepository
-
remote_repository_config.maven_repositoryblock. - ArtifactRegistryRepositoryArtifactRegistryRemoteNpmRepository
-
remote_repository_config.npm_repositoryblock. - ArtifactRegistryRepositoryArtifactRegistryRemoteRepositoryConfig
-
remote_repository_configblock. Required whenmode == REMOTE_REPOSITORY; mutually exclusive with ArtifactRegistryRepositoryArtifactRegistryVirtualRepositoryConfig. - ArtifactRegistryRepositoryArtifactRegistryRemoteUpstreamCredentials
-
remote_repository_config.upstream_credentials-- single helper for the only credential variant currently modeled by the schema (username_password_credentials). - ArtifactRegistryRepositoryArtifactRegistryRemoteUsernamePasswordCredentials
-
remote_repository_config.upstream_credentials .username_password_credentialsblock. - ArtifactRegistryRepositoryArtifactRegistryRemoteYumPublicRepository
-
remote_repository_config.yum_repository.public_repository. - ArtifactRegistryRepositoryArtifactRegistryRemoteYumRepository
-
remote_repository_config.yum_repositoryblock. - ArtifactRegistryRepositoryArtifactRegistryVirtualRepositoryConfig
-
virtual_repository_configblock. Required whenmode == VIRTUAL_REPOSITORY; mutually exclusive with ArtifactRegistryRepositoryArtifactRegistryRemoteRepositoryConfig. - ArtifactRegistryRepositoryArtifactRegistryVirtualUpstreamPolicy
-
One
virtual_repository_config.upstream_policiesentry. - ArtifactRegistryRepositoryArtifactRegistryVulnerabilityScanningConfig
-
vulnerability_scanning_configblock. Controls whether the Container Analysis API auto-scans artifacts pushed to this repo. Only enablementConfig is user-settable;enablementStateandenablementStateReasonare returned by the API and surface as read getters on the parent class. - GoogleArtifactRegistryRepository
-
Factory wrapper for
google_artifact_registry_repository. - GoogleArtifactRegistryRepositoryIamMember
-
Factory wrapper for
google_artifact_registry_repository_iam_member.
Enums
- ArtifactRegistryAptRepositoryBase
-
remote_repository_config.apt_repository.public_repository.repository_base. - ArtifactRegistryCleanupAction
-
cleanup_policies.action-- what the cleanup policy does to matching versions when its condition fires. - ArtifactRegistryCleanupTagState
-
cleanup_policies.condition.tag_state-- limits a cleanup condition to tagged / untagged / any versions. Schema defaultANY. - ArtifactRegistryDockerPublicRepository
-
remote_repository_config.docker_repository.public_repository. - ArtifactRegistryMavenPublicRepository
-
remote_repository_config.maven_repository.public_repository. - ArtifactRegistryMavenVersionPolicy
-
maven_config.version_policy-- which Maven version classes the repository accepts. Schema defaultVERSION_POLICY_UNSPECIFIED. - ArtifactRegistryMode
-
modeforgoogle_artifact_registry_repository. Picks the repository shape: standard (push/pull), virtual (federated view over other repositories), or remote (pull-through cache of an upstream registry). The schema defaults toSTANDARD_REPOSITORY. - ArtifactRegistryNpmPublicRepository
-
remote_repository_config.npm_repository.public_repository. - ArtifactRegistryVulnerabilityEnablementConfig
-
vulnerability_scanning_config.enablement_config-- whether vulnerability scanning is enabled for artifacts pushed to this repo.INHERITEDdefers to the project-level Artifact Analysis API state. - ArtifactRegistryYumRepositoryBase
-
remote_repository_config.yum_repository.public_repository.repository_base.