-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
31 lines (26 loc) · 1.08 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 = "your_aws_access_key"
#}
#variable "secret_key" { #Todo: uncomment the default value and add your secert key.
# description = "Secret key to AWS console"
# default = "your_aws_secret_access_key"
#}
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 = "aws-ec2-apn1-k8s"
}
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 = "ap-northeast-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-07c589821f2b353aa" #Ubuntu 20.04
}
variable "instance_type" {
default = "t2.medium" #the best type to start k8s with it,
}