Using this data source can enable Table Staore service automatically. If the service has been enabled, it will return Opened
.
For information about Table Staore and how to use it, see What is Table Staore.
data "alicloud_ots_service" "open" {
enable = "On"
}
The following arguments are supported:
enable
- (Optional) Setting the value to On
to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".The following attributes are exported in addition to the arguments listed above:
status
- The current service enable status.