Skip to content

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

Repository files navigation

Huawei Cloud DCS Redis Single node

Requirements

Name Version
terraform ~> 1.7
huaweicloud ~>1.63

Providers

Name Version
huaweicloud ~>1.63

Modules

No modules.

Resources

Name Type
huaweicloud_dcs_instance.main resource
huaweicloud_availability_zones.zones data source
huaweicloud_dcs_flavors.flavors data source

Inputs

Name Description Type Default Required
availability_zones Specifies the AZ name, if omitted, AZ calculates automatically list(string) [] no
capacity Specifies the cache capacity in GB number 0.5 no
cpu_architecture The CPU architecture of cache instance string "x86_64" no
description Specifies the description of an instance string null no
engine_version Specifies the version of a Redis engine string "5.0" no
name Specifies the instance name string n/a yes
name_postfix Specifies the instance name postfix string null no
password Specifies the password of a DCS instance. Changing this creates a new instance.
The password of a DCS instance must meet the following complexity requirements:

* Must be a string of 8 to 32 bits in length;
* Must contain three combinations of the following four characters: Lower case
letters, uppercase letter, digital, Special characters include (~!@#$^&*()-_=+|{}:,<.>/?);<br> * The new password cannot be the same as the old password.<br>
string null no
port Specifies the Redis port number 6379 no
region Specifies the region in which to create the resource, if omitted, the provider-level region will be used string null no
subnet_id Specifies the network ID of a subnet string n/a yes
tags Specifies the key/value pairs to associate with the Redis Instance map(string) {} no
vpc_id Specifies the VPC ID string n/a yes
whitelist Specifies the IP addresses which can access the instance map(list(string)) {} no
whitelist_enable Enable or disable the IP address whitelists bool true no

Outputs

Name Description
domain_name Domain name of the instance
id A resource ID in UUID format
ip_address IP Address of Redis instance
max_memory Total memory size in MB
port Port of Redis instance
status Cache instance status

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages