Complete Memorystore for Redis
Terraform scripts to create a complete GCP Memorystore for Redis using the module redis.
To create a complete GCP Memorystore for Redis:
terraform init
terraform plan
terraform apply
To delete all resource:
terraform destroy
Requirements
Name |
Version |
|---|---|
>= 1.0 |
|
~> 2.3.1 |
|
~> 6.16.0 |
|
~> 2.4.0 |
|
~> 3.2.1 |
Providers
Name |
Version |
|---|---|
~> 2.3.1 |
|
~> 6.16.0 |
|
~> 2.4.0 |
|
~> 3.2.1 |
Modules
Name |
Source |
Version |
|---|---|---|
../../../redis |
n/a |
Resources
Name |
Type |
|---|---|
resource |
|
resource |
|
data source |
|
data source |
|
data source |
|
data source |
|
data source |
Inputs
Name |
Description |
Type |
Default |
Required |
|---|---|---|---|---|
Project name |
|
|
no |
|
The GCP region to deploy the Memorystore for Redis. |
|
|
no |
Outputs
Name |
Description |
|---|---|
AUTH String set on the instance. This field will only be populated if auth_enabled is true. |
|
The current zone where the Redis endpoint is placed. |
|
The IP address of the instance. |
|
The Memorystore instance ID. |
|
Info per node |
|
Cloud IAM identity used by import/export operations. Format is ‘serviceAccount:’. May change over time |
|
The port number of the exposed Redis endpoint. |
|
The IP address of the exposed readonly Redis endpoint. |
|
The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target ‘port’. |
|
The region the instance lives in. |
|
List of server CA certificates for the instance |