All Modules
GCPCompute

Artifact Registry

Container and package repository with lifecycle policies and IAM

Usage

module "artifact_registry" {
  source = "github.com/fencepencil/gcp-modules//artifact-registry"

  project_id = "<project_id>"
  location = "<location>"
  name = "<name>"

  tags = var.tags
}

Inputs (5)

NameTypeDescriptionDefaultRequired
project_idstringGCP project IDyes
locationstringRegion for the repositoryyes
namestringRepository nameyes
formatstringFormat (DOCKER, NPM, PYTHON)DOCKERno
keep_countnumberVersions to keep in cleanup10no

Outputs (3)

NameDescription
repository_idID of the repository
repository_nameName of the repository
repository_urlDocker registry URL

More GCP Modules

Browse our full library of GCP infrastructure modules.

View all GCP modules