availability_zones |
Specifies the AZ name, if omitted, AZ calculates automatically |
list(string) |
[] |
no |
az_number |
Number of AZ, if 'availability_zones' is omitted, AZ calculates automatically based on this variable |
number |
3 |
no |
datastore |
Specifies the database information |
object({ engine = optional(string, "redis") storage_engine = optional(string, "rocksDB") version = optional(string, "5.0") }) |
{} |
no |
flavor |
Specifies the instance specifications |
string |
"geminidb.redis.small.4" |
no |
name |
Specifies the instance name |
string |
n/a |
yes |
name_postfix |
Specifies the instance name postfix |
string |
null |
no |
node_num |
Specifies the number of nodes |
number |
3 |
no |
password |
Specifies the database password |
string |
"VerY_5tr0nG-Pa55w0R^d" |
no |
region |
Specifies the region in which to create the resource, if omitted, the provider-level region will be used |
string |
null |
no |
secgroup_id |
Specifies the security group ID, required if the selected subnet doesn't enable network ACL |
string |
n/a |
yes |
subnet_id |
Specifies the network ID of a subnet |
string |
n/a |
yes |
tags |
Specifies the key/value pairs to associate with the Gaussdb Redis Instance |
map(string) |
{} |
no |
volume_size |
Specifies the storage space in GB The minimum and maximum storage space depends on the flavor and nodes_num variables See https://support.huaweicloud.com/intl/en-us/redisug-nosql/nosql_05_0059.html |
number |
10 |
no |
vpc_id |
Specifies the VPC ID |
string |
n/a |
yes |