Added Terraform variables for SSH user which depends on given AWS AMI
This commit is contained in:
parent
f52994b7d6
commit
aaa4a976aa
1 changed files with 10 additions and 5 deletions
|
@ -1,19 +1,21 @@
|
||||||
#Global Vars
|
#Global Vars
|
||||||
aws_cluster_name = "devtest"
|
aws_cluster_name = "devtest"
|
||||||
|
|
||||||
|
|
||||||
#VPC Vars
|
#VPC Vars
|
||||||
aws_vpc_cidr_block = "10.250.192.0/18"
|
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_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_cidr_subnets_public = ["10.250.224.0/20","10.250.240.0/20"]
|
||||||
aws_avail_zones = ["eu-central-1a","eu-central-1b"]
|
aws_avail_zones = ["eu-central-1a","eu-central-1b"]
|
||||||
|
|
||||||
|
|
||||||
#Bastion Host
|
#Bastion Host
|
||||||
aws_bastion_ami = "ami-5900cc36"
|
aws_bastion_ami = "ami-5900cc36"
|
||||||
aws_bastion_size = "t2.small"
|
aws_bastion_size = "t2.small"
|
||||||
|
aws_bastion_ssh_user = "admin"
|
||||||
|
|
||||||
|
|
||||||
#Kubernetes Cluster
|
#Kubernetes Cluster
|
||||||
|
|
||||||
aws_kube_master_num = 3
|
aws_kube_master_num = 3
|
||||||
aws_kube_master_size = "t2.medium"
|
aws_kube_master_size = "t2.medium"
|
||||||
|
|
||||||
|
@ -23,10 +25,13 @@ aws_etcd_size = "t2.medium"
|
||||||
aws_kube_worker_num = 4
|
aws_kube_worker_num = 4
|
||||||
aws_kube_worker_size = "t2.medium"
|
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_ami = "ami-903df7ff"
|
||||||
|
aws_cluster_ssh_user = "core"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Settings AWS ELB
|
#Settings AWS ELB
|
||||||
|
aws_elb_api_port = 443
|
||||||
aws_elb_api_port = 6443
|
k8s_secure_api_port = 443
|
||||||
k8s_secure_api_port = 6443
|
|
||||||
kube_insecure_apiserver_address = 0.0.0.0
|
kube_insecure_apiserver_address = 0.0.0.0
|
Loading…
Reference in a new issue