forked from Ahmad-Faqehi/Terraform-Bulding-K8S
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
31 lines (26 loc) · 812 Bytes
/
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" {
description = "Access key to AWS console"
type = string
}
variable "secret_key" { #Todo: uncomment the default value and add your secert key.
description = "Secret key to AWS console"
type = string
}
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 = "Daniel at Cosmic DNA"
}
variable "number_of_worker" {
description = "number of worker instances to be join on cluster."
default = 1
}
variable "region" {
description = "The region zone on AWS"
type = string
}
variable "ami_id" {
description = "The AMI to use"
default = "ami-0e5f882be1900e43b" #Ubuntu
}
variable "instance_type" {
default = "t2.micro" #the best type to start k8s with it,
}