Skip to content

Commit

Permalink
Move duplicate variable to variables.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovilla committed Feb 20, 2024
1 parent 642c894 commit 8f7d933
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ variable "dask-gateway-profiles" {
description = "Dask Gateway profiles to expose to user"
}

variable "cloud-provider" {
description = "Name of cloud provider."
type = string
}


# =================== RESOURCES =====================
module "dask-gateway" {
source = "./modules/kubernetes/services/dask-gateway"
Expand Down
5 changes: 0 additions & 5 deletions src/_nebari/stages/kubernetes_services/template/jupyterhub.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ variable "idle-culler-settings" {
type = any
}

variable "cloud-provider" {
description = "Name of cloud provider."
type = string
}

module "kubernetes-nfs-server" {
count = var.jupyterhub-shared-endpoint == null ? 1 : 0

Expand Down
6 changes: 6 additions & 0 deletions src/_nebari/stages/kubernetes_services/template/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ variable "jupyterlab-pioneer-log-format" {
description = "Logging format for JupyterLab Pioneer"
type = string
}

variable "jhub-apps-enabled" {
description = "Enable JupyterHub Apps"
type = bool
}

variable "cloud-provider" {
description = "Name of cloud provider."
type = string
}

0 comments on commit 8f7d933

Please sign in to comment.