From 627cdf1a51457411fb3295ce3094d3a901af442b Mon Sep 17 00:00:00 2001 From: ashutosham2002 Date: Fri, 19 Jan 2024 17:53:09 +0530 Subject: [PATCH] feat: Resolved warnings --- addons/cert-manager/main.tf | 12 ++++++------ addons/ingress-nginx/main.tf | 12 ++++++------ addons/keda/main.tf | 12 ++++++------ addons/reloader/data.tf | 6 ------ addons/reloader/main.tf | 12 ++++++------ 5 files changed, 24 insertions(+), 30 deletions(-) delete mode 100644 addons/reloader/data.tf diff --git a/addons/cert-manager/main.tf b/addons/cert-manager/main.tf index 85d159e..741a392 100644 --- a/addons/cert-manager/main.tf +++ b/addons/cert-manager/main.tf @@ -1,8 +1,8 @@ module "helm_addon" { - source = "../helm" - helm_config = local.helm_config - project_id = var.project_id - environment = var.environment - addon_context = var.addon_context - namespace = local.default_helm_config.namespace + source = "../helm" + helm_config = local.helm_config + project_id = var.project_id + environment = var.environment + addon_context = var.addon_context + namespace = local.default_helm_config.namespace } \ No newline at end of file diff --git a/addons/ingress-nginx/main.tf b/addons/ingress-nginx/main.tf index 85d159e..741a392 100644 --- a/addons/ingress-nginx/main.tf +++ b/addons/ingress-nginx/main.tf @@ -1,8 +1,8 @@ module "helm_addon" { - source = "../helm" - helm_config = local.helm_config - project_id = var.project_id - environment = var.environment - addon_context = var.addon_context - namespace = local.default_helm_config.namespace + source = "../helm" + helm_config = local.helm_config + project_id = var.project_id + environment = var.environment + addon_context = var.addon_context + namespace = local.default_helm_config.namespace } \ No newline at end of file diff --git a/addons/keda/main.tf b/addons/keda/main.tf index 85d159e..741a392 100644 --- a/addons/keda/main.tf +++ b/addons/keda/main.tf @@ -1,8 +1,8 @@ module "helm_addon" { - source = "../helm" - helm_config = local.helm_config - project_id = var.project_id - environment = var.environment - addon_context = var.addon_context - namespace = local.default_helm_config.namespace + source = "../helm" + helm_config = local.helm_config + project_id = var.project_id + environment = var.environment + addon_context = var.addon_context + namespace = local.default_helm_config.namespace } \ No newline at end of file diff --git a/addons/reloader/data.tf b/addons/reloader/data.tf deleted file mode 100644 index 6e883c9..0000000 --- a/addons/reloader/data.tf +++ /dev/null @@ -1,6 +0,0 @@ -data "google_compute_regions" "current" {} - -data "google_container_cluster" "my_cluster" { - name = var.gke_cluster_name - location = "us-central1" -} \ No newline at end of file diff --git a/addons/reloader/main.tf b/addons/reloader/main.tf index 85d159e..741a392 100644 --- a/addons/reloader/main.tf +++ b/addons/reloader/main.tf @@ -1,8 +1,8 @@ module "helm_addon" { - source = "../helm" - helm_config = local.helm_config - project_id = var.project_id - environment = var.environment - addon_context = var.addon_context - namespace = local.default_helm_config.namespace + source = "../helm" + helm_config = local.helm_config + project_id = var.project_id + environment = var.environment + addon_context = var.addon_context + namespace = local.default_helm_config.namespace } \ No newline at end of file