diff options
Diffstat (limited to 'vps.tf')
-rw-r--r-- | vps.tf | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -15,6 +15,11 @@ variable "nextcloud_tld_prefix" { description = "DNS prefix used for the Nextcloud installation. Does not contain a dot at the end." } +variable "gpodder_tld_prefix" { + type = string + description = "DNS prefix used for the gpodder.net installation. Does not contain a dot at the end." +} + variable "hostname" { type = string description = "Human name of the host. This is a pet name, not cattle name :)" @@ -112,3 +117,10 @@ resource "digitalocean_record" "nextcloud" { name = var.nextcloud_tld_prefix value = "${digitalocean_domain.vps_tld.name}." } + +resource "digitalocean_record" "gpodder" { + domain = digitalocean_domain.vps_tld.name + type = "CNAME" + name = var.gpodder_tld_prefix + value = "${digitalocean_domain.vps_tld.name}." +} |