Complete Memorystore for Memcache Instance

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

To create a complete GCP Memorystore for Memcached Instance:

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

google-beta

~> 6.16.0

local

~> 2.4.0

null

~> 3.2.1

Providers

Name

Version

external

~> 2.3.1

google

~> 6.16.0

google-beta

~> 6.16.0

local

~> 2.4.0

null

~> 3.2.1

Modules

Name

Source

Version

complete_memorystore_for_memcached_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

local_file.date_sh

resource

null_resource.timestamp

resource

external_external.static_timestamp

data source

google_client_openid_userinfo.current

data source

google_compute_network.vpc

data source

google_compute_zones.available

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”.