Skip to content

Commit

Permalink
update legacy cluster endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
juliuste committed Sep 9, 2024
1 parent 4d1771d commit 2507cab
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cloud-resources/digitalocean.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ provider "digitalocean" {

# basic infrastructure

resource "digitalocean_record" "cluster_record" {
resource "digitalocean_record" "cluster_record_legacy" {
domain = "public-transport.earth"
type = "A"
name = "cluster.infra"
value = "51.91.81.181" # todo: create load balancer with terraform and reference its ip address here instead of hardcoding (currently not supported by ovh)
value = module.kube-hetzner.ingress_public_ipv4
}

# todo: ipv6 once ovh or scaleway load balancers support it

resource "digitalocean_record" "tilia_cluster_record_v4" {
domain = "public-transport.earth"
type = "A"
Expand Down

0 comments on commit 2507cab

Please sign in to comment.