terraform: convert DNS CNAME to A records

This commit is contained in:
teutat3s 2023-10-22 16:37:14 +02:00
parent 795026f5ad
commit 0309c75f2a
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 41 additions and 41 deletions

View file

@ -136,7 +136,7 @@ services:
# - triton.cns.services=mastodon-redis
web:
image: tootsuite/mastodon:v4.2.0
image: tootsuite/mastodon:v4.2.1
mem_limit: 1g
restart: always
env_file: .env.production
@ -149,7 +149,7 @@ services:
- triton.cns.services=mastodon-web
streaming:
image: tootsuite/mastodon:v4.2.0
image: tootsuite/mastodon:v4.2.1
mem_limit: 1g
restart: always
env_file: .env.production
@ -162,7 +162,7 @@ services:
- triton.cns.services=mastodon-streaming
sidekiq:
image: tootsuite/mastodon:v4.2.0
image: tootsuite/mastodon:v4.2.1
mem_limit: 1g
restart: always
env_file: .env.production

View file

@ -6,28 +6,28 @@ resource "namecheap_domain_records" "pub-solar" {
record {
hostname = "flora-6"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "auth"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "ci"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "git"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "stream"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "list"
@ -36,13 +36,13 @@ resource "namecheap_domain_records" "pub-solar" {
}
record {
hostname = "obs-portal"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "vpn"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "cache"
@ -56,64 +56,64 @@ resource "namecheap_domain_records" "pub-solar" {
}
record {
hostname = "collabora"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "@"
type = "ALIAS"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
ttl = 300
}
record {
hostname = "chat"
type = "CNAME"
address = "matrix.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
type = "A"
address = "85.88.23.162"
}
record {
hostname = "cloud"
type = "CNAME"
address = "nc-web.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.133"
}
record {
hostname = "coturn"
type = "CNAME"
address = "nc-hpb.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.239"
}
record {
hostname = "hpb"
type = "CNAME"
address = "nc-hpb.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.239"
}
record {
hostname = "dimension"
type = "CNAME"
address = "matrix.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
type = "A"
address = "85.88.23.162"
}
record {
hostname = "element"
type = "CNAME"
address = "matrix.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
type = "A"
address = "85.88.23.162"
}
record {
hostname = "files"
type = "CNAME"
address = "mastodon-proxy.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
type = "A"
address = "85.88.23.161"
}
record {
hostname = "mastodon"
type = "CNAME"
address = "mastodon-proxy.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
type = "A"
address = "85.88.23.161"
}
record {
hostname = "matrix"
type = "CNAME"
address = "matrix.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.cgn-1.greenbaum.zone."
type = "A"
address = "85.88.23.162"
}
record {
hostname = "www"
type = "CNAME"
address = "flora-6.svc.e5756d08-36fd-424b-f8bc-acdb92ca7b82.lev-1.greenbaum.zone."
type = "A"
address = "80.71.153.210"
}
record {
hostname = "@"