Skip to content

Commit b0b322a

Browse files
authored
Merge pull request #7 from ShibraAmin18/azure
updated dir structure for providers
2 parents bbfb1e1 + cf83b6c commit b0b322a

File tree

27 files changed

+6
-6
lines changed

27 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This module allows you to easily deploy a MySQL database on Kubernetes using Hel
1818

1919
```hcl
2020
module "aws" {
21-
source = "squareops/mysql/kubernetes//provider/aws"
21+
source = "squareops/mysql/kubernetes//modules/resources/aws"
2222
cluster_name = "prod-eks"
2323
environment = "prod"
2424
name = "mysql"

examples/complete/aws/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ locals {
2323
}
2424

2525
module "aws" {
26-
source = "squareops/mysql/kubernetes//provider/aws"
26+
source = "squareops/mysql/kubernetes//modules/resources/aws"
2727
cluster_name = ""
2828
environment = local.environment
2929
name = local.name

examples/complete/azure/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ locals {
2525
}
2626

2727
module "azure" {
28-
source = "squareops/mysql/kubernetes//provider/azure"
28+
source = "squareops/mysql/kubernetes//modules/resources/azure"
2929
cluster_name = ""
3030
resource_group_name = ""
3131
resource_group_location = ""

examples/complete/gcp/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ locals {
2323
}
2424

2525
module "gcp" {
26-
source = "squareops/mysql/kubernetes//provider/gcp"
26+
source = "squareops/mysql/kubernetes//modules/resources/gcp"
2727
project_id = "fresh-sanctuary-387476" #for gcp
2828
environment = local.environment
2929
name = local.name

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "helm_release" "mysqldb_backup" {
3838
depends_on = [helm_release.mysqldb]
3939
count = var.mysqldb_backup_enabled ? 1 : 0
4040
name = "mysqldb-backup"
41-
chart = "${path.module}/backup"
41+
chart = "${path.module}/modules/backup"
4242
timeout = 600
4343
namespace = var.namespace
4444
values = [
@@ -62,7 +62,7 @@ resource "helm_release" "mysqldb_restore" {
6262
depends_on = [helm_release.mysqldb]
6363
count = var.mysqldb_restore_enabled ? 1 : 0
6464
name = "mysqldb-restore"
65-
chart = "${path.module}/restore"
65+
chart = "${path.module}/modules/restore"
6666
timeout = 600
6767
namespace = var.namespace
6868
values = [
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)