GitHub - integer00/terraform-google-redis: a redis module, provided by terraform to gcp · GitHub
Skip to content

integer00/terraform-google-redis

Repository files navigation

terraform-google-redis

This module was generated from terraform-google-module-template, which by default generates a module that simply creates a GCS bucket. As the module develops, this README should be updated.

The resources/services/activations/deletions that this module will create/trigger are:

  • Create a GCS bucket with the provided name

Usage

Basic usage of this module is as follows:

module "redis" {
  source  = "terraform-google-modules/redis/google"
  version = "~> 0.1"

  project_id  = "<PROJECT ID>"
}

Functional examples are included in the examples directory.

Inputs

Name Description Type Default Required
project_id The project ID to deploy to string n/a yes
redis_instance_disk_size Redis disk size in GB string "10" no
redis_instance_disk_type Redis disk type string "pd-standard" no
redis_instance_image_type Redis image type string "centos-7" no
redis_instance_machine_type Redis machine type string "n1-standard-1" no
redis_instance_metadata Redis instance metadata map(string) <map> no
redis_instance_name Redis vm name string "redis" no
redis_instance_network Redis instance network string "default" no
redis_instance_region Redis region string "europe-west2" no
redis_instance_subnetwork Redis instance subnetwork string "default" no
redis_instance_tags Tags to attach instance with list(string) <list> no
redis_instance_zone Redis default zone string "europe-west2-a" no
redis_listen_port Redis listen port string "6379" no

Outputs

Name Description
redis_firewall Redis vm firewall name
redis_instance_internal_ip Redis vm internal ip
redis_instance_name Redis vm name
redis_instance_public_ip Redis vm public ip
redis_instance_zone Redis default zone
redis_port Redis listen port

Requirements

These sections describe requirements for using this module.

Software

The following dependencies must be available:

Service Account

A service account with the following roles must be used to provision the resources of this module:

  • Storage Admin: roles/storage.admin

The Project Factory module and the IAM module may be used in combination to provision a service account with the necessary roles applied.

APIs

A project with the following APIs enabled must be used to host the resources of this module:

  • Google Cloud Storage JSON API: storage-api.googleapis.com

The Project Factory module can be used to provision a project with the necessary APIs enabled.

Contributing

Refer to the contribution guidelines for information on contributing to this module.

About

a redis module, provided by terraform to gcp

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors