-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
109 lines (96 loc) · 2.63 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
############### Infra Variables #################
variable deployment_name {
description = "Deployment Name for the boomi terraform deployment."
type = string
default = "boomi-eks-blueprint"
}
variable region {
description = "Region for the EKS deployment."
type = string
default = "us-east-2"
}
variable aws_profile {
description = "AWS profile for the deployment."
type = string
}
variable vpc_cidr {
description = "The IPv4 CIDR block for the VPC."
type = string
default = "10.0.0.0/16"
}
variable availability_zones {
description = "A list of availability zones names"
type = list
default = ["us-east-2a", "us-east-2b", "us-east-2c"]
}
variable private_subnets {
description = "A list of private subnets CIDR range"
type = list
default = ["10.0.0.0/19","10.0.32.0/19","10.0.64.0/19"]
}
variable public_subnets {
description = "A list of public subnets CIDR range"
type = list
default = ["10.0.128.0/20","10.0.144.0/20","10.0.160.0/20"]
}
variable bastion_remote_access_cidr{
description = "CIDR Range for bastion Host"
type = string
default = "0.0.0.0/0"
}
variable "create_new_vpc" {
description = "If set to true, will create new VPC. If set to false, the existing provided vpc is used"
default = true
type = bool
}
variable existing_vpc_id {
description = "VPC ID for existing VPC"
type = string
default = ""
}
variable existing_private_subnets_ids {
description = "List of private subnet ids"
type = list
default = []
}
variable existing_public_subnets_ids {
description = "List of public subnet ids"
type = list
default = []
}
variable cluster_version {
type = string
default = "1.27"
description = "EKS Cluster Version"
validation {
condition = contains(["1.25", "1.26","1.27"], var.cluster_version)
error_message = "Valid values for var: cluster_version are (1.25, 1.26,1.27)."
}
}
variable "kubectl_version" {
type = map
description = "kubectl version for accessing EKS Cluster"
default = {
1.25 = "1.25.9/2023-05-11"
1.26 = "1.26.4/2023-05-11"
1.27 = "1.27.1/2023-04-19"
}
}
############### Boomi Account Variables #################
variable boomi_username {
description = "Boomi Username"
type = string
}
variable boomi_account_id {
description = "Boomi Account ID"
type = string
}
variable boomi_install_token {
description = "Boomi AtomSphere API Tokens"
type = string
}
variable boomi_script_location {
description = "Path to Boomi terraform root. Default value .terraform/modules/kubernetes-molecule/"
type = string
default = ""
}