Skip to content

Commit

Permalink
removal of apm from xc
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Jan 18, 2024
1 parent 06d00be commit 0f19325
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "volterra_http_loadbalancer" "http-lb-bigip-calalang-net" {
environment = var.label-environment
}
description = "Global HTTPS Load Balancer for bigip.calalang.net"
domains = ["bigip.calalang.net", "apm.calalang.net", "ingresslink.calalang.net"]
domains = ["bigip.calalang.net", "ingresslink.calalang.net"]
advertise_on_public_default_vip = true
routes {
simple_route {
Expand All @@ -34,29 +34,6 @@ resource "volterra_http_loadbalancer" "http-lb-bigip-calalang-net" {
host_rewrite = "bigip.calalang.net"
}
}
routes {
simple_route {
http_method = "ANY"
path {
regex = ".*"
}
origin_pools {
pool {
namespace = var.namespace
name = volterra_origin_pool.pool-ip-apm.name
}
weight = 1
priority = 1
endpoint_subsets = {}
}
headers {
name = "HOST"
exact = "apm.calalang.net"
invert_match = false
}
host_rewrite = "apm.calalang.net"
}
}
routes {
simple_route {
http_method = "ANY"
Expand Down
40 changes: 0 additions & 40 deletions distributed-cloud/terraform/configuration/pool-ip-apm.tf

This file was deleted.

19 changes: 6 additions & 13 deletions godaddy/terraform/domain-records-calalang-net.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,28 +98,21 @@ resource "godaddy_domain_record" "domain-records-calalang-net" {
# Records for BIG-IP

record {
name = "_acme-challenge.bigip"
type = var.record-type-cname
data = "3a038a23d2d94ab48964811d58ffbfeb.autocerts.ves.volterra.io"
ttl = var.ttl
}

record {
name = "bigip"
type = var.record-type-cname
data = var.http-lb-big-ip-ves-hostname
name = "apm"
type = "A"
data = "20.69.161.167"
ttl = var.ttl
}

record {
name = "_acme-challenge.apm"
name = "_acme-challenge.bigip"
type = var.record-type-cname
data = "c60067fcb06b401298a1de227c436c26.autocerts.ves.volterra.io"
data = "3a038a23d2d94ab48964811d58ffbfeb.autocerts.ves.volterra.io"
ttl = var.ttl
}

record {
name = "apm"
name = "bigip"
type = var.record-type-cname
data = var.http-lb-big-ip-ves-hostname
ttl = var.ttl
Expand Down

0 comments on commit 0f19325

Please sign in to comment.