Coder Social home page Coder Social logo

scaleway-terraform-modules / terraform-scaleway-redis Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 52 KB

Manage Redis cluster on Scaleway with Terraform.

License: Mozilla Public License 2.0

HCL 100.00%
redis scaleway terraform-module scaleway-redis

terraform-scaleway-redis's Introduction

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.

terraform-scaleway-redis's People

Contributors

benoit-garcia avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

terraform-scaleway-redis's Issues

Feature: Add validation conditions on input variables

To make the module more reliable, we should set validation condition on input variables:

  • cluster_version is a supported version (would require to maintain the list of supported version)
  • instance_type is correct (would require to maintain the list of available instances)
  • network_acl and service_ips are correct IP addresses
  • private_network and project_id are UUIDs (with or without a zone prefix)
  • user_name won't be rejected by redis.
  • user_password matches complexity rules set by Scaleway.
  • zone matches a known zone (would require to maintain the list of available zones)
  • ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.