Simple Memorystore for Memcached Instance

Terraform scripts to create a simple GCP Memorystore for Memcached Instance using the module memcache.

To create a simple GCP Memorystore for Memcached Instance:

terraform init
terraform plan
terraform apply

To delete all resource:

terraform destroy

Requirements

Name

Version

terraform

>= 1.0

google

~> 6.16.0

google-beta

~> 6.16.0

Providers

Name

Version

google

~> 6.16.0

google-beta

~> 6.16.0

Modules

Name

Source

Version

simple_memorystore_for_mecached_instance

../../../memcache

n/a

Resources

Name

Type

google-beta_google_compute_global_address.service_range

resource

google-beta_google_service_networking_connection.private_service_connection

resource

google_compute_network.vpc

data source

Inputs

Name

Description

Type

Default

Required

project

Project name

string

"armonik-gcp-13469"

no

region

The GCP region to deploy the Memorystore for Memcached Instance.

string

"europe-west9"

no

Outputs

Name

Description

discovery_endpoint

Endpoint for Discovery API

id

The Memorystore instance ID.

memcache_full_version

The full version of memcached server running on this instance.

memcache_nodes

Additional information about the instance state, if available. The parameters: “node_id”, “zone”, “port”, “host”, “state”.