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
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.
| 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 |
These sections describe requirements for using this module.
The following dependencies must be available:
- Terraform v0.12
- Terraform Provider for GCP plugin v2.0
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.
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.
Refer to the contribution guidelines for information on contributing to this module.
