-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathvariables.tf
61 lines (49 loc) · 1.8 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
variable "aws_region" {
description = "Region where Cloud Formation is created"
default = "eu-central-1"
}
variable "cluster_name" {
description = "Name of the AWS Minikube cluster - will be used to name all created resources"
}
variable "tags" {
description = "Tags used for the AWS resources created by this template"
type = map(string)
}
variable "addons" {
description = "list of YAML files with Kubernetes addons which should be installed"
type = list(string)
}
variable "aws_instance_type" {
description = "Type of instance"
default = "t2.medium"
}
variable "aws_subnet_id" {
description = "The subnet-id to be used for the instance"
}
variable "ssh_public_key" {
description = "Path to the pulic part of SSH key which should be used for the instance"
default = "~/.ssh/id_rsa.pub"
}
variable "hosted_zone" {
description = "Hosted zone to be used for the alias"
}
variable "hosted_zone_private" {
description = "Is the hosted zone public or private"
default = false
}
variable "ami_image_id" {
description = "ID of the AMI image which should be used. If empty, the latest CentOS 7 image will be used. See README.md for AMI image requirements."
default = ""
}
variable "ssh_access_cidr" {
description = "CIDR from which SSH access is allowed"
default = "0.0.0.0/0"
}
variable "api_access_cidr" {
description = "CIDR from which API access is allowed"
default = "0.0.0.0/0"
}
variable "kubernetes_version" {
description = "Kubernetes version of the Minikube cluster. Note, this module has only been tested to work with what is currently the latest version of Kubernetes (i.e. the default value for this variable). Specifying any other version might result in an error or a cluster that is not fully functional."
default = "1.30.2"
}