All Modules
GCPDatabase

Memorystore

Managed Redis with HA, AUTH, TLS, and VPC peering

Usage

module "memorystore" {
  source = "github.com/fencepencil/gcp-modules//memorystore"

  project_id = "<project_id>"
  name = "<name>"
  region = "<region>"
  network_id = "<network_id>"

  tags = var.tags
}

Inputs (7)

NameTypeDescriptionDefaultRequired
project_idstringGCP project IDyes
namestringInstance nameyes
regionstringGCP regionyes
network_idstringVPC network IDyes
tierstringService tier (BASIC or STANDARD_HA)STANDARD_HAno
memory_size_gbnumberMemory in GB1no
auth_enabledboolEnable AUTHtrueno

Outputs (3)

NameDescription
instance_idID of the Redis instance
hostHostname of the instance
portPort of the instance

More GCP Modules

Browse our full library of GCP infrastructure modules.

View all GCP modules