alicloud_ots_instance

This resource will help you to manager a Table Store Instance. It is foundation of creating data table.

Example Usage

variable "name" {
  default = "tf-example"
}

resource "random_integer" "default" {
  min = 10000
  max = 99999
}

resource "alicloud_ots_instance" "default" {
  name             = "${var.name}-${random_integer.default.result}"
  description      = var.name
  network_type_acl = ["VPC"]
  tags = {
    Created = "TF"
    For     = "Building table"
  }
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

OTS instance can be imported using instance id or name, e.g.

$ terraform import alicloud_ots_instance.foo "my-ots-instance"