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
data "alicloud_kvstore_permission" "open" {
enable = "On"
}
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".The following attributes are exported in addition to the arguments listed above:
status
- The current service enable status.