-
Notifications
You must be signed in to change notification settings - Fork 10
/
variables.tf
31 lines (26 loc) · 1.05 KB
/
variables.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 "access_key" { #Todo: uncomment the default value and add your access key.
description = "Access key to AWS console"
#default = "XXXXXXXXXXXXXX"
}
variable "secret_key" { #Todo: uncomment the default value and add your secert key.
description = "Secret key to AWS console"
# default = "XXXXXXXXXXXXXXXXXXXXXXXXX"
}
variable "ami_key_pair_name" { #Todo: uncomment the default value and add your pem key pair name. Hint: don't write '.pem' exction just the key name
#default = "mykey"
}
variable "number_of_worker" {
description = "number of worker instances to be join on cluster."
default = 2
}
variable "region" {
description = "The region zone on AWS"
default = "us-east-1" #The zone I selected is us-east-1, if you change it make sure to check if ami_id below is correct.
}
variable "ami_id" {
description = "The AMI to use"
default = "ami-0a6b2839d44d781b2" #Ubuntu 20.04
}
variable "instance_type" {
default = "t2.medium" #the best type to start k8s with it,
}