Skip to content

scaleway-terraform-modules/terraform-scaleway-redis

Terraform / Scaleway

Purpose

This repository is used to manage a Redis cluster on scaleway using terraform.

Usage

module "my_cluster" {
  source  = "scaleway-terraform-modules/redis/scaleway"
  version = "0.0.1"

}

Requirements

Name Version
terraform >= 0.13
scaleway >= 2.3.0

Resources

Name Type
scaleway_redis_cluster.this resource

Inputs

Name Description Type Default Required
cluster_name Name of the Redis Cluster. string n/a yes
user_name Identifier for the first user of the Redis Cluster. string n/a yes
user_password Password for the first user of the Redis Cluster. string n/a yes
cluster_size Nnumber of nodes in the Redis Cluster. number 1 no
cluster_version Redis's Cluster version (e.g. 6.2.6). string "7.0.5" no
instance_type Type of Redis Cluster you want to create. string "RED1-MICRO" no
network_acls List of acl rules (ie IP addresses authorized to connect to the cluster). list(object({ ip = string description = string })) [ { "description": "Allow all", "ip": "0.0.0.0/0" } ] no
private_network Describes the private network you want to connect to your cluster. If not set, a public network will be provided. object({ id = string service_ips = list(string) }) null no
project_id ID of the project the namespace is associated with. Ressource will be created in the project set at the provider level if null. string null no
tags Tags associated with the server and dedicated ip address. list(string) [] no
tls_enabled Whether TLS is enabled or not. bool true no
zone The zone in which the Redis Cluster should be created. Ressource will be created in the zone set at the provider level if null. string null no

Outputs

Name Description
cluster_certificate PEM of the certificate used by redis.
cluster_id ID of the Database Instance.

Authors

Module is maintained with help from the community.

License

Mozilla Public License 2.0 Licensed. See LICENSE for full details.