Skip to content

Commit ec49294

Browse files
committed
updated the dir structure for providers
1 parent 442fbf8 commit ec49294

File tree

16 files changed

+6
-21
lines changed

16 files changed

+6
-21
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This module creates a Redis master and one or more Redis slaves, depending on th
2020

2121
```hcl
2222
module "aws" {
23-
source = "squareops/redis/kubernetes//provider/aws"
23+
source = "squareops/redis/kubernetes//modules/resources/aws"
2424
environment = "prod"
2525
name = "redis"
2626
store_password_to_secret_manager = true
@@ -55,7 +55,7 @@ module "redis" {
5555
```
5656
- Refer [AWS examples](https://github.com/squareops/terraform-kubernetes-redis/tree/main/examples/complete/aws) for more details.
5757
- Refer [Azure examples](https://github.com/squareops/terraform-kubernetes-redis/tree/main/examples/complete/azure) for more details.
58-
- Refer [GCP examples](https://github.com/squareops/terraform-kubernetes-redis/tree/main/examples/complete/agcp) for more details.
58+
- Refer [GCP examples](https://github.com/squareops/terraform-kubernetes-redis/tree/main/examples/complete/gcp) for more details.
5959

6060
## IAM Permissions
6161
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)

examples/complete/aws/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
<br>
88
This example will be very useful for users who are new to a module and want to quickly learn how to use it. By reviewing the examples, users can gain a better understanding of how the module works, what features it supports, and how to customize it to their specific needs.
99

10-
## Usage
11-
12-
Use the provider file as per your need.
13-
- If deploying into AWS EKS use `provider-aws.tf` file and remove `provider-gcp.tf` file.
14-
- If deploying into Google GKE use `provider-gcp.tf` file and remove `provider-aws.tf` file.
15-
1610
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
1711
## Requirements
1812

@@ -23,8 +17,6 @@ No requirements.
2317
| Name | Version |
2418
|------|---------|
2519
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
26-
| <a name="provider_google"></a> [google](#provider\_google) | n/a |
27-
2820
## Modules
2921

3022
| Name | Source | Version |

examples/complete/aws/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ locals {
1515
}
1616

1717
module "aws" {
18-
source = "squareops/redis/kubernetes//provider/aws"
18+
source = "squareops/redis/kubernetes//modules/resources/aws"
1919
environment = local.environment
2020
name = local.name
2121
store_password_to_secret_manager = local.store_password_to_secret_manager

examples/complete/azure/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ No requirements.
2222

2323
| Name | Source | Version |
2424
|------|--------|---------|
25-
| <a name="module_azure"></a> [azure](#module\_azure) | squareops/redis/kubernetes//provider/azure | n/a |
25+
| <a name="module_azure"></a> [azure](#module\_azure) | squareops/redis/kubernetes//modules/resources/azure | n/a |
2626
| <a name="module_redis"></a> [redis](#module\_redis) | squareops/redis/kubernetes | n/a |
2727

2828
## Resources

examples/complete/azure/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ locals {
1515
}
1616

1717
module "azure" {
18-
source = "squareops/redis/kubernetes//provider/azure"
18+
source = "squareops/redis/kubernetes//modules/resources/azure"
1919
resource_group_name = "prod-skaf-rg"
2020
resource_group_location = local.region
2121
environment = local.environment

examples/complete/gcp/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
<br>
88
This example will be very useful for users who are new to a module and want to quickly learn how to use it. By reviewing the examples, users can gain a better understanding of how the module works, what features it supports, and how to customize it to their specific needs.
99

10-
## Usage
11-
12-
Use the provider file as per your need.
13-
- If deploying into AWS EKS use `provider-aws.tf` file and remove `provider-gcp.tf` file.
14-
- If deploying into Google GKE use `provider-gcp.tf` file and remove `provider-aws.tf` file.
15-
1610
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
1711
## Requirements
1812

@@ -22,7 +16,6 @@ No requirements.
2216

2317
| Name | Version |
2418
|------|---------|
25-
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
2619
| <a name="provider_google"></a> [google](#provider\_google) | n/a |
2720

2821
## Modules

examples/complete/gcp/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ locals {
1515
}
1616

1717
module "gcp" {
18-
source = "squareops/redis/kubernetes//provider/gcp"
18+
source = "squareops/redis/kubernetes//modules/resources/gcp"
1919
project_id = ""
2020
environment = local.environment
2121
name = local.name
File renamed without changes.

0 commit comments

Comments
 (0)