artifact-registry
dapperlabs-platform/artifact-registry/google
Google Cloud Artifact Registry Module
Google Cloud Artifact Registry Module This module simplifies the creation of repositories using Google Cloud Artifact Registry. Note: Artifact Registry is still in beta, hence this module currently uses the beta provider. Example ``hcl module "docker_artifact_registry" { source = "github.com/dapperlabs-platform/terraform-google-artifact-registry?ref=tag" project_id = "myproject" location = "europe-west1" format = "DOCKER" id = "myregistry" iam = { "roles/artifactregistry.admin" = ["group:cicd@example.com"] } } tftest:modules=1:resources=2 `` Copyright 2021 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require
| Name | Type | Description | Default |
|---|---|---|---|
| project_id | string | Registry project id. | required |
| id | string | Repository id | required |
| mode | string | Repository mode. One of STANDARD_REPOSITORY, VIRTUAL_REPOSITORY, or REMOTE_REPOS | "STANDARD_REPOSITORY" |
| description | string | An optional description for the repository | "Terraform-managed registry" |
| iam_additive | map(list(string)) | IAM additive bindings in {ROLE => [MEMBERS]} format. | {} |
| cleanup_policies | map(object({ action = stri | Object containing details about the cleanup policies for an Artifact Registry re | null |
| encryption_key | string | The KMS key name to use for encryption at rest. | null |
| labels | map(string) | Labels to be attached to the registry. | {} |
| location | string | Registry location. Use `gcloud beta artifacts locations list' to get valid value | "" |
| format | string | Repository format. One of DOCKER or UNSPECIFIED | "DOCKER" |
| cleanup_policy_dry_run | bool | If true, the cleanup pipeline is prevented from deleting versions in this reposi | null |
| iam | map(list(string)) | IAM bindings in {ROLE => [MEMBERS]} format. | {} |
id — Repository idname — Repository name