redis_instance_node

最近更新时间:2019-12-13 15:40:26

Provides an redis instance node resource.

Example Usage

resource "ksyun_redis_instance_node" "default" {
  cache_id          = "${ksyun_redis_instance.default.id}"
  available_zone    = "${var.available_zone}"
}

resource "ksyun_redis_instance_node" "node" {
  // creating multiple read-only nodes,
  // not concurrently, requires dependencies to synchronize the execution of creating multiple read-only nodes.
  // if only one read-only node is created, it is not required to fill in.
  pre_node_id       = "${ksyun_redis_instance_node.default.id}"
  cache_id          = "${ksyun_redis_instance.default.id}"
  available_zone    = "${var.available_zone}"
}

Argument Reference

The following arguments are supported:

  • cache_id - (Optional) The ID of the intance .
    • available_zone - (Optional) The Zone to launch the DB instance.

金山云,开启您的云计算之旅

免费注册