Name | Version |
---|---|
terraform | ~> 1.7 |
huaweicloud | ~>1.63 |
Name | Version |
---|---|
huaweicloud | ~>1.63 |
No modules.
Name | Type |
---|---|
huaweicloud_gaussdb_redis_instance.main | resource |
huaweicloud_availability_zones.zones | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
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({ |
{} |
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 |
Name | Description |
---|---|
db_user_name | Indicates the default username |
id | Specifies a resource ID in UUID format |
lb_ip_address | Indicates the LB IP address of the db |
lb_port | Indicates the LB port of the db |
mode | Indicates the instance type |
nodes | Indicates the instance nodes information |
port | Indicates the database port |
private_ips | Indicates the IP address list of the db |
status | Indicates the DB instance status |