google_redis_instance

Get info about a Google Cloud Redis instance.

Example Usage

data "google_redis_instance" "my_instance" {
  name = "my-redis-instance"
}

output "instance_memory_size_gb" {
  value = data.google_redis_instance.my_instance.memory_size_gb
}

output "instance_connect_mode" {
  value = data.google_redis_instance.my_instance.connect_mode
}

output "instance_authorized_network" {
  value = data.google_redis_instance.my_instance.authorized_network
}

Argument Reference

The following arguments are supported:


Attributes Reference

See google_redis_instance resource for details of the available attributes.