Skip to content

Commit db24dd4

Browse files
committed
tf/dns added new private ingress IP, some dns records
1 parent 623eb74 commit db24dd4

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

infrastructure/terraform/dns/ip.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ resource "aws_eip" "eks-ingress-b" {
33
lifecycle {
44
prevent_destroy = true
55
}
6+
}
7+
resource "aws_eip" "eks-ingress-private" {
68
}

infrastructure/terraform/dns/outputs.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@ output "eks-ingress-ip" {
1010
output "eks-ingress-name" {
1111
value = [aws_eip.eks-ingress-b.allocation_id]
1212
description = "Static EIB IP address for eks ingress load balancer. This is where the DNS entries point to"
13+
}
14+
15+
output "eks-ingress-private-ip" {
16+
value = [aws_eip.eks-ingress-private.public_ip]
17+
description = "Static EIB IP address for eks ingress (private services)."
18+
}
19+
output "eks-ingress-private-name" {
20+
value = [aws_eip.eks-ingress-private.allocation_id]
21+
description = "Static EIB IP address for eks ingress (private services)."
1322
}

infrastructure/terraform/dns/route53.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
"push.api",
2020
"analytics",
2121
"rabbitmq",
22-
"ocpi-neogy.ex", # Remove this when in production, replaced by neogy.ocpi.ex
22+
"anlytics.beta",
2323
"neogy.ocpi.io",
2424
"driwe.ocpi.io",
2525
"google.spreadsheets.io"

0 commit comments

Comments
 (0)