Skip to content

Commit

Permalink
add memcache_version parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno561 authored and Bruno Pinheiro committed Dec 8, 2023
1 parent 49454d3 commit 9a913d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/memcache/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions modules/memcache/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a913d1

Please sign in to comment.