Skip to content

Commit

Permalink
fix: close quotes on kubernetes_context values (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronraysmith authored Sep 26, 2023
1 parent 71b97b5 commit f0604fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mlstacks/terraform/gcp-modular/output_file.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ resource "local_file" "stack_file" {
id: ${uuid()}
flavor: kubeflow
name: gke_kubeflow_orchestrator
configuration: {"kubernetes_context": "gke_${local.prefix}-${local.gke.cluster_name}, "synchronous": True}
configuration: {"kubernetes_context": "gke_${local.prefix}-${local.gke.cluster_name}", "synchronous": True}
%{else}
%{if var.enable_orchestrator_tekton}
id: ${uuid()}
flavor: tekton
name: gke_tekton_orchestrator
configuration: {"kubernetes_context": "gke_${local.prefix}-${local.gke.cluster_name}}
configuration: {"kubernetes_context": "gke_${local.prefix}-${local.gke.cluster_name}"}
%{else}
%{if var.enable_orchestrator_kubernetes}
id: ${uuid()}
flavor: kubernetes
name: gke_kubernetes_orchestrator
configuration: {"kubernetes_context": "gke_${local.prefix}-${local.gke.cluster_name}, "synchronous": True}
configuration: {"kubernetes_context": "gke_${local.prefix}-${local.gke.cluster_name}", "synchronous": True}
%{else}
%{if var.enable_orchestrator_skypilot}
id: ${uuid()}
Expand Down Expand Up @@ -99,7 +99,7 @@ resource "local_file" "stack_file" {
id: ${uuid()}
flavor: kserve
name: gke_kserve
configuration: {"kubernetes_context": "gke_${local.prefix}-${local.gke.cluster_name}, "kubernetes_namespace": "${local.kserve.workloads_namespace}", "base_url": "${var.enable_model_deployer_kserve ? module.kserve[0].kserve-base-URL : ""}", "secret": "gcp_kserve_secret"}
configuration: {"kubernetes_context": "gke_${local.prefix}-${local.gke.cluster_name}", "kubernetes_namespace": "${local.kserve.workloads_namespace}", "base_url": "${var.enable_model_deployer_kserve ? module.kserve[0].kserve-base-URL : ""}", "secret": "gcp_kserve_secret"}
%{else}
%{if var.enable_model_deployer_seldon}
model_deployer:
Expand Down

0 comments on commit f0604fb

Please sign in to comment.