fixed incorrect variable reference

This commit is contained in:
jimbecker
2018-06-27 12:49:50 -04:00
parent 5902fe0fbc
commit 3d50463cfe

View File

@@ -4,8 +4,7 @@ locals {
# Followed recommendation http://67bricks.com/blog/?p=85
# to workaround terraform not supporting short circut evaluation
cluster_security_group_id = "${coalesce(join("", aws_security_group.cluster.*.id), var.cluster_security_group_id)}"
worker_security_group_id = "${coalesce(join("", aws_security_group.workers.*.id), var.cluster_security_group_id)}"
worker_security_group_id = "${coalesce(join("", aws_security_group.workers.*.id), var.worker_security_group_id)}"
workstation_external_cidr = "${chomp(data.http.workstation_external_ip.body)}/32"
# Mapping from the node type that we selected and the max number of pods that it can run