Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #76 from jetstack/variable-types
Browse files Browse the repository at this point in the history
Change bool variables to use bool type
  • Loading branch information
wwwil committed Aug 24, 2020
2 parents 42a621a + a5f5cbe commit 19d1fef
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions example/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ EOF
}

variable "private_endpoint" {
type = string
default = "false"
type = bool
default = false

description = <<EOF
Whether the master's internal IP address is used as the cluster endpoint and the
Expand All @@ -132,8 +132,8 @@ EOF
}

variable "private_nodes" {
type = string
default = "true"
type = bool
default = true

description = <<EOF
Whether nodes have internal IP addresses only. If enabled, all nodes are given
Expand Down Expand Up @@ -213,8 +213,8 @@ EOF
}

variable "access_private_images" {
type = string
default = "false"
type = bool
default = false

description = <<EOF
Whether to create the IAM role for storage.objectViewer, required to access
Expand All @@ -223,8 +223,8 @@ EOF
}

variable "http_load_balancing_disabled" {
type = string
default = "false"
type = bool
default = false

description = <<EOF
The status of the HTTP (L7) load balancing controller addon, which makes it
Expand Down
24 changes: 12 additions & 12 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ EOF
}

variable "access_private_images" {
type = string
default = "false"
type = bool
default = false

description = <<EOF
Whether to create the IAM role for storage.objectViewer, required to access
Expand All @@ -164,8 +164,8 @@ EOF
}

variable "http_load_balancing_disabled" {
type = string
default = "false"
type = bool
default = false

description = <<EOF
The status of the HTTP (L7) load balancing controller addon, which makes it
Expand Down Expand Up @@ -266,8 +266,8 @@ EOF
}

variable "stackdriver_logging" {
type = "string"
default = "true"
type = bool
default = true

description = <<EOF
Whether Stackdriver Kubernetes logging is enabled. This should only be set to
Expand All @@ -276,8 +276,8 @@ EOF
}

variable "stackdriver_monitoring" {
type = "string"
default = "true"
type = bool
default = true

description = <<EOF
Whether Stackdriver Kubernetes monitoring is enabled. This should only be set to
Expand All @@ -286,8 +286,8 @@ EOF
}

variable "private_endpoint" {
type = string
default = "false"
type = bool
default = false

description = <<EOF
Whether the master's internal IP address is used as the cluster endpoint and the
Expand All @@ -296,8 +296,8 @@ EOF
}

variable "private_nodes" {
type = string
default = "true"
type = bool
default = true

description = <<EOF
Whether nodes have internal IP addresses only. If enabled, all nodes are given
Expand Down

0 comments on commit 19d1fef

Please sign in to comment.