Simple Google Artifact Registry

Terraform scripts to create a simple Google Artifact Registry using the module artifact-registry.

To create a simple Google Artifact Registry:

terraform init
terraform plan
terraform apply

To delete all resource:

terraform destroy

Requirements

Name

Version

terraform

>= 1.0

external

~> 2.3.1

google

~> 6.16.0

local

~> 2.4.0

null

~> 3.2.1

Providers

Name

Version

external

~> 2.3.1

google

~> 6.16.0

local

~> 2.4.0

null

~> 3.2.1

Modules

Name

Source

Version

simple_artifact_registry

../../../artifact-registry

n/a

Resources

Name

Type

local_file.date_sh

resource

null_resource.timestamp

resource

external_external.static_timestamp

data source

google_client_openid_userinfo.current

data source

Inputs

Name

Description

Type

Default

Required

project

Project name

string

n/a

yes

region

The GCP region to deploy the Artifact registry

string

"europe-west9"

no

Outputs

Name

Description

docker_repositories

Docker repositories in Artifactory Registry created on GCP

kms_key_name

KMS key name used to encrypt the registry

service_account

The associated service account created for artifact-registry.