Skip to content

Commit

Permalink
Use a more helpful variable description
Browse files Browse the repository at this point in the history
Many thanks to @qvallance for this tip!
  • Loading branch information
pratikmallya committed Sep 22, 2018
1 parent 368dc4d commit 5fd3e12
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,22 @@ variable "node_version" {
}

variable "master_authorized_networks_config" {
description = "The desired configuration options for master authorized networks. Omit the nested cidr_blocks attribute to disallow external access (except the cluster node IPs, which GKE automatically whitelists)."
type = "list"
default = []
type = "list"

description = <<EOF
The desired configuration options for master authorized networks. Omit the nested cidr_blocks attribute to disallow external access (except the cluster node IPs, which GKE automatically whitelists)
### example format ###
default = [{
cidr_blocks = [{
cidr_block = "10.0.0.0/8"
display_name = "example_network"
}],
}]
EOF

default = []
}

variable "horizontal_pod_autoscaling" {
Expand Down

0 comments on commit 5fd3e12

Please sign in to comment.