-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.tf
32 lines (24 loc) · 778 Bytes
/
nginx.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
resource "helm_release" "ingress-nginx" {
name = "ingress-nginx"
# namespace = "ingress-nginx"
repository = "https://kubernetes.github.io/ingress-nginx"
chart = "ingress-nginx"
version = "4.7.2"
set {
name = "controller.service.annotations.service\\.beta\\.kubernetes\\.io/aws-load-balancer-scheme"
value = "internet-facing"
}
set {
name = "controller.service.annotations.service\\.beta\\.kubernetes\\.io/aws-load-balancer-eip-allocations"
value = aws_eip.sb_dev.id
}
set {
name = "controller.service.annotations.service\\.beta\\.kubernetes\\.io/aws-load-balancer-subnets"
value = aws_subnet.wp_subnet_1.id
}
set {
name = "rbac.create"
value = "true"
}
depends_on = [aws_eks_cluster.eks_cluster]
}