forked from pauldailly/kubernetes-the-hard-way-terraform-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.tf
31 lines (27 loc) · 745 Bytes
/
vars.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
variable "AWS_REGION" {
default = "eu-west-1"
}
variable "AMIS" {
type = "map"
default = {
us-east-1 = "ami-13be557e"
us-west-2 = "ami-06b94666"
eu-west-1 = "ami-98ecb7fe"
}
}
variable "PATH_TO_PRIVATE_KEY" {
default = "kubernetes_ec2_key"
}
variable "PATH_TO_PUBLIC_KEY" {
default = "kubernetes_ec2_key.pub"
}
variable "INSTANCE_USERNAME" {
default = "ubuntu"
}
variable "ANSIBLE_FILTER" {
description = "`ansibleFilter` tag value added to all instances, to enable instance filtering in Ansible dynamic inventory"
default = "KubernetesThw" # IF YOU CHANGE THIS YOU HAVE TO CHANGE instance_filters = tag:ansibleFilter=Kubernetes01 in ./ansible/hosts/ec2.ini
}
variable "AWS_PROFILE" {
default = "terraform"
}