Simple Cloud KMS

Terraform scripts to create a simple GCP Cloud KMS using the module kms.

To create a simple GCP Cloud KMS:

terraform init
terraform plan
terraform apply

To delete all resource:

terraform destroy

Requirements

Name

Version

terraform

>= 1.0

google

~> 6.16.0

Providers

No providers.

Modules

Name

Source

Version

simple_kms

../../../kms

n/a

Resources

No resources.

Inputs

Name

Description

Type

Default

Required

project

Project name

string

n/a

yes

region

The GCP region used to deploy the KMS.

string

"europe-west9"

no

Outputs

Name

Description

crypto_key_ids

The Map of the created crypto keys.

key_ring_id

The ID of the KeyRing.

key_ring_location

The location for the KeyRing.

key_ring_name

The resource name for the KeyRing.