Removing region from kubectl config and adding override variable

This commit is contained in:
Max Williams
2018-07-09 10:31:01 +02:00
parent 0ffa4932f6
commit 7e4e93eeec
5 changed files with 15 additions and 6 deletions

View File

@@ -9,6 +9,8 @@ locals {
workstation_external_cidr = "${chomp(data.http.workstation_external_ip.body)}/32"
workstation_cidr = "${coalesce(var.workstation_cidr, local.workstation_external_cidr)}"
kubeconfig_name = "${var.kubeconfig_name == "" ? "eks_${var.cluster_name}" : var.kubeconfig_name}"
# Mapping from the node type that we selected and the max number of pods that it can run
# Taken from https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-06-05/amazon-eks-nodegroup.yaml
max_pod_per_node = {