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)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
project_id | string | GCP project ID | — | yes |
location | string | Region for the repository | — | yes |
name | string | Repository name | — | yes |
format | string | Format (DOCKER, NPM, PYTHON) | DOCKER | no |
keep_count | number | Versions to keep in cleanup | 10 | no |
Outputs (3)
| Name | Description |
|---|---|
repository_id | ID of the repository |
repository_name | Name of the repository |
repository_url | Docker registry URL |