From aaa4a976aac180a49dbf7883a41f3b84c493f092 Mon Sep 17 00:00:00 2001 From: Maikel Mertens Date: Wed, 16 Aug 2017 13:14:39 +0200 Subject: [PATCH] Added Terraform variables for SSH user which depends on given AWS AMI --- contrib/terraform/aws/terraform.tfvars.example | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/contrib/terraform/aws/terraform.tfvars.example b/contrib/terraform/aws/terraform.tfvars.example index 666b21db2..95ca09d55 100644 --- a/contrib/terraform/aws/terraform.tfvars.example +++ b/contrib/terraform/aws/terraform.tfvars.example @@ -1,19 +1,21 @@ #Global Vars aws_cluster_name = "devtest" + #VPC Vars aws_vpc_cidr_block = "10.250.192.0/18" aws_cidr_subnets_private = ["10.250.192.0/20","10.250.208.0/20"] aws_cidr_subnets_public = ["10.250.224.0/20","10.250.240.0/20"] aws_avail_zones = ["eu-central-1a","eu-central-1b"] + #Bastion Host aws_bastion_ami = "ami-5900cc36" aws_bastion_size = "t2.small" +aws_bastion_ssh_user = "admin" #Kubernetes Cluster - aws_kube_master_num = 3 aws_kube_master_size = "t2.medium" @@ -23,10 +25,13 @@ aws_etcd_size = "t2.medium" aws_kube_worker_num = 4 aws_kube_worker_size = "t2.medium" +# Refer to: https://coreos.com/os/docs/latest/booting-on-ec2.html aws_cluster_ami = "ami-903df7ff" +aws_cluster_ssh_user = "core" + + #Settings AWS ELB - -aws_elb_api_port = 6443 -k8s_secure_api_port = 6443 -kube_insecure_apiserver_address = 0.0.0.0 +aws_elb_api_port = 443 +k8s_secure_api_port = 443 +kube_insecure_apiserver_address = 0.0.0.0 \ No newline at end of file