artifact-registry

dapperlabs-platform/artifact-registry/google

Terraform Module HCL GOOGLE

Google Cloud Artifact Registry Module

Install
module "artifact-registry" {
source = "dapperlabs-platform/artifact-registry/google"
version = "0.10.0"
}
plain text: /constructs/tfmod-dapperlabs-platform-artifact-registry-google/install.txt
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (12)
NameTypeDescriptionDefault
project_idstringRegistry project id. required
idstringRepository id required
modestringRepository mode. One of STANDARD_REPOSITORY, VIRTUAL_REPOSITORY, or REMOTE_REPOS"STANDARD_REPOSITORY"
descriptionstringAn optional description for the repository"Terraform-managed registry"
iam_additivemap(list(string))IAM additive bindings in {ROLE => [MEMBERS]} format. {}
cleanup_policiesmap(object({ action = striObject containing details about the cleanup policies for an Artifact Registry renull
encryption_keystringThe KMS key name to use for encryption at rest.null
labelsmap(string)Labels to be attached to the registry.{}
locationstringRegistry location. Use `gcloud beta artifacts locations list' to get valid value""
formatstringRepository format. One of DOCKER or UNSPECIFIED"DOCKER"
cleanup_policy_dry_runboolIf true, the cleanup pipeline is prevented from deleting versions in this reposinull
iammap(list(string))IAM bindings in {ROLE => [MEMBERS]} format.{}
Outputs (2)
id — Repository id
name — Repository name
Resources (3)
google_artifact_registry_repositorygoogle_artifact_registry_repository_iam_bindinggoogle_artifact_registry_repository_iam_member
Details
FrameworkTerraform Module
LanguageHCL
Version0.10.0
Cloud GOOGLE
★ Stars7
Forks5
Total downloads4.8k
Inputs12
Outputs2
Resources3
LicenseApache-2.0
Namespacedapperlabs-platform
Updated