alicloud_kvstore_permission

更新时间:

Assigns a RAM role to ApsaraDB for Redis.

The log management feature of ApsaraDB for Redis requires the resources of Log Service. To use the log management feature of ApsaraDB for Redis, you can call this operation to associate the RAM role named AliyunServiceRoleForKvstore with the ApsaraDB for Redis instance. For more information, see Associated RAM roles of ApsaraDB for Redis

-> 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 ApsaraDB for Redis. 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.