mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: dyndns
This commit is contained in:
parent
b85e850dd6
commit
3597edceaf
9 changed files with 197 additions and 13 deletions
|
|
@ -29,6 +29,10 @@ resource "cloudflare_record" "dyndns_a" {
|
|||
type = "A"
|
||||
value = "127.0.0.1"
|
||||
zone_id = cloudflare_zone.gensokyo-zone_zone.id
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [value]
|
||||
}
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "dyndns_aaaa" {
|
||||
|
|
@ -38,6 +42,10 @@ resource "cloudflare_record" "dyndns_aaaa" {
|
|||
type = "AAAA"
|
||||
value = "::1"
|
||||
zone_id = cloudflare_zone.gensokyo-zone_zone.id
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [value]
|
||||
}
|
||||
}
|
||||
|
||||
output "cloudflare_dyndns_record_a" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue