Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@ This module creates a Redis master and one or more Redis slaves, depending on th

```hcl
module "redis" {
source = "https://github.com/sq-ia/terraform-kubernetes-redis.git"
source = "squareops/redis/kubernetes"
redis_config = {
name = "redis"
values_yaml = ""
environment = "prod"
architecture = "replication"
slave_volume_size = "10Gi"
master_volume_size = "10Gi"
storage_class_name = "gp2"
storage_class_name = "gp3"
slave_replica_count = 2
}
grafana_monitoring_enabled = true
recovery_window_aws_secret = 0
}

```
Refer [examples](https://github.com/sq-ia/terraform-kubernetes-redis/tree/main/examples/complete) for more details.
Refer [examples](https://github.com/squareops/terraform-kubernetes-redis/tree/main/examples/complete) for more details.

## IAM Permissions
The required IAM permissions to create resources from this module can be found [here](https://github.com/sq-ia/terraform-kubernetes-redis/blob/main/IAM.md)
The required IAM permissions to create resources from this module can be found [here](https://github.com/squareops/terraform-kubernetes-redis/blob/main/IAM.md)

## Important Notes
1. In order to enable the exporter, it is required to deploy Prometheus/Grafana first.
Expand Down Expand Up @@ -103,7 +103,7 @@ No modules.

To report an issue with a project:

1. Check the repository's [issue tracker](https://github.com/sq-ia/terraform-kubernetes-redis/issues) on GitHub
1. Check the repository's [issue tracker](https://github.com/squareops/terraform-kubernetes-redis/issues) on GitHub
2. Search to see if the issue has already been reported
3. If you can't find an answer to your question in the documentation or issue tracker, you can ask a question by creating a new issue. Be sure to provide enough context and details so others can understand your problem.

Expand All @@ -115,7 +115,7 @@ Apache License, Version 2.0, January 2004 (http://www.apache.org/licenses/).

To support a GitHub project by liking it, you can follow these steps:

1. Visit the repository: Navigate to the [GitHub repository](https://github.com/sq-ia/terraform-kubernetes-redis).
1. Visit the repository: Navigate to the [GitHub repository](https://github.com/squareops/terraform-kubernetes-redis).

2. Click the "Star" button: On the repository page, you'll see a "Star" button in the upper right corner. Clicking on it will star the repository, indicating your support for the project.

Expand Down
2 changes: 1 addition & 1 deletion examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ No requirements.

| Name | Source | Version |
|------|--------|---------|
| <a name="module_redis"></a> [redis](#module\_redis) | https://github.com/sq-ia/terraform-kubernetes-redis.git | n/a |
| <a name="module_redis"></a> [redis](#module\_redis) | squareops/redis/kubernetes.git | n/a |

## Resources

Expand Down
4 changes: 2 additions & 2 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ locals {
}

module "redis" {
source = "https://github.com/sq-ia/terraform-kubernetes-redis.git"
source = "squareops/redis/kubernetes"
redis_config = {
name = local.name
values_yaml = file("./helm/values.yaml")
environment = local.environment
architecture = "replication"
slave_volume_size = "10Gi"
master_volume_size = "10Gi"
storage_class_name = "gp2"
storage_class_name = "gp3"
slave_replica_count = 2
}
grafana_monitoring_enabled = true
Expand Down