alicloud_kvstore_permission

更新时间:

Assigns a RAM role to Tair (Redis OSS-Compatible) And Memcache (KVStore).

The log management feature of Tair (Redis OSS-Compatible) And Memcache (KVStore) requires the resources of Log Service. To use the log management feature of Tair (Redis OSS-Compatible) And Memcache (KVStore), you can call this operation to associate the RAM role named AliyunServiceRoleForKvstore with the Tair (Redis OSS-Compatible) And Memcache (KVStore) instance. For more information, see Associated RAM roles of Tair (Redis OSS-Compatible) And Memcache (KVStore)

-> NOTE: Available since v1.128.0

Example Usage

data "alicloud_kvstore_permission" "open" {
  enable = "On"
}

Argument Reference

The following arguments are supported:

  • enable - (Optional) Setting the value to On to assigns a RAM role to Tair (Redis OSS-Compatible) And Memcache (KVStore). If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".

Attributes Reference

The following attributes are exported in addition to the arguments listed above:

  • status - The current service enable status.