mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
provider/azurerm: Updating the Redis Documentation (#13893)
* Updating the Redis documentation to better match the Azure docs * Updating the docs to use a C2 instance, to make it clearer
This commit is contained in:
parent
4239c6a441
commit
9b5055112a
@ -45,7 +45,7 @@ resource "azurerm_redis_cache" "test" {
|
|||||||
name = "test"
|
name = "test"
|
||||||
location = "${azurerm_resource_group.test.location}"
|
location = "${azurerm_resource_group.test.location}"
|
||||||
resource_group_name = "${azurerm_resource_group.test.name}"
|
resource_group_name = "${azurerm_resource_group.test.name}"
|
||||||
capacity = 1
|
capacity = 2
|
||||||
family = "C"
|
family = "C"
|
||||||
sku_name = "Standard"
|
sku_name = "Standard"
|
||||||
enable_non_ssl_port = false
|
enable_non_ssl_port = false
|
||||||
@ -95,9 +95,11 @@ The following arguments are supported:
|
|||||||
* `resource_group_name` - (Required) The name of the resource group in which to
|
* `resource_group_name` - (Required) The name of the resource group in which to
|
||||||
create the Redis instance.
|
create the Redis instance.
|
||||||
|
|
||||||
* `capacity` - (Required) This corresponds to the size of the Redis instance you wish to use (e.g. a C0 would be 0, P3 would be 3 etc).
|
* `capacity` - (Required) The size of the Redis cache to deploy. Valid values for a SKU `family` of C (Basic/Standard) are `0, 1, 2, 3, 4, 5, 6`, and for P (Premium) `family` are `1, 2, 3, 4`.
|
||||||
|
|
||||||
* `family` - (Required) The pricing group for the Redis Family - either "C" or "P" at present.
|
* `family` - (Required) The SKU family to use. Valid values are `C` and `P`, where C = Basic/Standard, P = Premium.
|
||||||
|
|
||||||
|
The pricing group for the Redis Family - either "C" or "P" at present.
|
||||||
|
|
||||||
* `sku_name` - (Required) The SKU of Redis to use - can be either Basic, Standard or Premium.
|
* `sku_name` - (Required) The SKU of Redis to use - can be either Basic, Standard or Premium.
|
||||||
|
|
||||||
@ -110,7 +112,7 @@ The following arguments are supported:
|
|||||||
```hcl
|
```hcl
|
||||||
redis_configuration {
|
redis_configuration {
|
||||||
maxclients = "512"
|
maxclients = "512"
|
||||||
maxmemory_reserve" = "10"
|
maxmemory_reserve = "10"
|
||||||
maxmemory_delta = "2"
|
maxmemory_delta = "2"
|
||||||
maxmemory_policy = "allkeys-lru"
|
maxmemory_policy = "allkeys-lru"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user