diff --git a/modules/memcache/main.tf b/modules/memcache/main.tf index 0037b6e..ceb5ddc 100644 --- a/modules/memcache/main.tf +++ b/modules/memcache/main.tf @@ -21,6 +21,7 @@ resource "google_memcache_instance" "self" { zones = var.zones name = var.name region = var.region + memcache_version = var.memcache_version authorized_network = var.authorized_network node_count = var.node_count display_name = var.display_name == null ? var.name : var.display_name diff --git a/modules/memcache/variables.tf b/modules/memcache/variables.tf index 5c0c688..495ad98 100644 --- a/modules/memcache/variables.tf +++ b/modules/memcache/variables.tf @@ -35,6 +35,12 @@ variable "name" { type = string } +variable "memcache_version" { + description = "The major version of Memcached software." + type = + default = null +} + variable "authorized_network" { description = "The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used." type = string