-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
42 lines (36 loc) · 918 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
32
33
34
35
36
37
38
39
40
41
42
variable "env" {
description = "Current environment"
type = string
default = "production"
}
variable "region" {
description = "AWS region"
type = string
default = "eu-central-1"
}
variable "availability-zone" {
description = "AWS primary availability-zone"
type = string
default = "a"
}
# for eks we need 2 subnets, each in a different az
# this is the second one
variable "availability-zone_second" {
description = "AWS secondary availability-zone"
type = string
default = "b"
}
variable "bucketname" {
description = "Name of the s3-bucket"
type = string
default = "s3-0"
}
variable "cluster_name" {
type = string
description = "EKS cluster name."
default = "personal-website-eks-cluster-0"
}
output "eip-jumphost" {
value = aws_eip.eip_jumphost.public_ip
description = "The public IP of the eip"
}