Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Latest commit

 

History

History
31 lines (25 loc) · 1.93 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.93 KB

terraform-google-memcached

⚠ Deprecated

This module has been deprecated. Please switch to the managed service using terraform-google-memorystore. For more information, please refer to the documentation.

Inputs

Name Description Type Default Required
location_code A code representing a single character for the type of physical location ('g' for Google cloud) plus a short string indicating zone or location (e.x. gusw1, guse1, gase1, etc...). This will be used as the first segment of the machine's hostname string - yes
env Environment string `` yes
app_name The third segment of the machine's hostname, referencing the major application or project name string - yes
img_src_project source project where image resides string centos-cloud yes
image_name centos7 base image name string `` yes
memcached_ips List of IP addresses to use for memcached instances. list - yes
project_name Project Name string `` yes
app_tags Application tags string <list> no
machine_type memcached machine type string n1-standard-2 no
allow_stopping_for_update Whether you will allow Terraform to stop an instance to update it (e.x. service account update) string true no
boot_disk_size boot_disk_size string 100 no
boot_disk_type boot_disk_type string pd-ssd no
subnetwork Subnet to deploy to string `` yes
service_account map <map> yes

Verify

On your instance type below command :

ps -eaf | grep memcached

and it should give below output :

/usr/bin/memcached -u memcached -p 11211 -m 2048 -c 1024 -t 4 -v >> /data1/applogs/memcached/memcached.log 2>&1