Skip to content

Commit

Permalink
added Cloud Run var
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Diener committed Dec 4, 2019
1 parent f2c0e23 commit 1249dcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ resource "google_container_cluster" "cluster" {
disabled = false
}
cloudrun_config {
disabled = true
disabled = true == var.cloudrun
}
}

Expand Down
7 changes: 6 additions & 1 deletion cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ variable "subnetwork" {
}

variable "istio" {
description = "Enable istio"
description = "Enable Istio"
default = false
}

variable "cloudrun" {
description = "Enable Cloud Run"
default = false
}

Expand Down

0 comments on commit 1249dcc

Please sign in to comment.