Skip to content

cloud-labs-infra/terraform-huaweicloud-gaussdb-redis

Repository files navigation

Huawei Cloud GaussDB NoSQL Redis

Requirements

Name Version
terraform ~> 1.7
huaweicloud ~>1.63

Providers

Name Version
huaweicloud ~>1.63

Modules

No modules.

Resources

Name Type
huaweicloud_gaussdb_redis_instance.main resource
huaweicloud_availability_zones.zones data source

Inputs

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({
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

Outputs

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages