Simple Memorystore for Redis

Terraform scripts to create a simple GCP Memorystore for Redis using the module redis.

To create a simple GCP Memorystore for Redis:

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_memorystore_for_redis

../../../redis

n/a

Resources

No resources.

Inputs

Name

Description

Type

Default

Required

project

Project name

string

"armonik-gcp-13469"

no

region

The GCP region to deploy the Memorystore for Redis.

string

"europe-west9"

no

Outputs

Name

Description

current_location_id

The current zone where the Redis endpoint is placed.

host

The IP address of the instance.

id

The Memorystore instance ID.

nodes

Info per node

port

The port number of the exposed Redis endpoint.

region

The region the instance lives in.