Skip to content

Commit

Permalink
fix- modified local values
Browse files Browse the repository at this point in the history
  • Loading branch information
AshutoshAM2002 authored Feb 5, 2024
1 parent 8b3e296 commit 9920ea8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion _examples/basic/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ locals {
region = "us-central1"
cluster_version = "latest"
gcp_project_id = "dev-env-3b53"
cluster_name = "${local.name}-cluster"
tags = {
Name = local.name
Environment = local.environment
Expand Down
2 changes: 1 addition & 1 deletion _examples/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module "gke" {
source = "terraform-google-modules/kubernetes-engine/google//modules/beta-private-cluster"
version = "29.0.0"
project_id = local.gcp_project_id
name = local.cluster_name
name = "${local.name}-cluster"
region = local.region
kubernetes_version = local.cluster_version
zones = []
Expand Down
3 changes: 1 addition & 2 deletions _examples/complete/locals.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
locals {
name = "helm-addons-test-1"
name = "helm-addons"
environment = "test"
region = "us-central1"
cluster_version = "latest"
gcp_project_id = "dev-env-3b53"
cluster_name = "test-cluster"
tags = {
Name = local.name
Environment = local.environment
Expand Down
2 changes: 1 addition & 1 deletion _examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module "gke" {
source = "terraform-google-modules/kubernetes-engine/google//modules/beta-private-cluster"
version = "29.0.0"
project_id = local.gcp_project_id
name = local.cluster_name
name = "${local.name}-cluster"
region = local.region
kubernetes_version = local.cluster_version
zones = []
Expand Down
6 changes: 3 additions & 3 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ output "keda_repository" {
}

#-----------Kubeclarity-------------------
output "Kubeclarity_namespace" {
output "kubeclarity_namespace" {
value = module.kubeclarity[*].namespace
}

output "Kubeclarity_chart_version" {
output "kubeclarity_chart_version" {
value = module.kubeclarity[*].chart_version
}

output "Kubeclarity_repository" {
output "kubeclarity_repository" {
value = module.kubeclarity[*].repository
}

Expand Down

0 comments on commit 9920ea8

Please sign in to comment.