Skip to content

Commit

Permalink
More doc changes (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSharpe committed Jun 13, 2024
1 parent 940c10f commit 1bce28d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/rediscloud_essentials_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ The following arguments are supported:

* `subscription_id` - (Required) The ID of the subscription to create the database in. **Modifying this attribute will force creation of a new resource.**
* `name` - (Required) A meaningful name to identify the database.
* `protocol` - (Optional) Database protocol. Either: 'redis', 'memcached' or 'stack'. Default: 'stack'.
* `resp_version` - (Optional) RESP version must be compatible with the Redis version.
* `data_persistence` - (Required) Rate of database data persistence (in persistent storage). Either: 'none', 'aof-every-1-second', 'aof-every-write', 'snapshot-every-1-hour', 'snapshot-every-6-hours' or 'snapshot-every-12-hours'.
* `data_eviction` - (Optional) Data items eviction method. Either: 'allkeys-lru', 'allkeys-lfu', 'allkeys-random', 'volatile-lru', 'volatile-lfu', 'volatile-random', 'volatile-ttl' or 'noeviction'. Default: 'volatile-lru'.
Expand All @@ -66,7 +67,6 @@ The following arguments are supported:
* `modules` - (Optional) A list of modules objects, documented below. **Modifying this attribute will force creation of a new resource.**
* `enable_payg_features` - (Optional) Whether to enable features restricted to Pay-As-You-Go legacy databases. It is not supported for new databases. Default `false`.
* `memory_limit_in_gb` - (Optional) **Only used with Pay-As-You-Go databases.** Maximum memory usage for the database.
* `protocol` - (Optional) **Only used with Pay-As-You-Go databases.** The protocol that will be used to access the database. Either ‘redis’, 'memcached’ or 'stack').
* `support_oss_cluster_api` - (Optional) **Only used with Pay-As-You-Go databases.** Support Redis open-source (OSS) Cluster API. Default `false`.
* `external_endpoint_for_oss_cluster_api` - (Optional) **Only used with Pay-As-You-Go databases.** Should use the external endpoint for open-source (OSS) Cluster API. Default `false`.
* `enable_database_clustering` - (Optional) **Only used with Pay-As-You-Go databases.** Distributes database data to different cloud instances. Default `false`.
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_rediscloud_essentials_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func resourceRedisCloudEssentialsDatabase() *schema.Resource {
ValidateDiagFunc: validation.ToDiagFunc(validation.StringLenBetween(0, 40)),
},
"protocol": {
Description: "The protocol that will be used to access the database, (either redis, 'memcached or 'stack')",
Description: "The protocol that will be used to access the database, (either 'redis', 'memcached' or 'stack')",
Type: schema.TypeString,
ValidateDiagFunc: validation.ToDiagFunc(validation.StringInSlice(fixedDatabases.ProtocolValues(), false)),
Optional: true,
Expand Down

0 comments on commit 1bce28d

Please sign in to comment.