From 57a65a00248e9343d6131acd1b7ee24c6fcf4a4d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 5 Aug 2020 06:59:14 -0300 Subject: Add gpodder container initial implementation --- vps.tf | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'vps.tf') diff --git a/vps.tf b/vps.tf index 8579e76..c359e24 100644 --- a/vps.tf +++ b/vps.tf @@ -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}." +} -- cgit v1.2.3