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 94c55c7
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,20 @@ 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 = []
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 94c55c7

Please sign in to comment.