diff options
author | EuAndreh <eu@euandre.org> | 2020-08-05 06:59:14 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-05 06:59:14 -0300 |
commit | 57a65a00248e9343d6131acd1b7ee24c6fcf4a4d (patch) | |
tree | d77e12d4adf111b843e145fa70bd0b74b138846f /vps.tf | |
parent | Checkpoint: working Nextcloud installation with configured trusted domains (diff) | |
download | server-57a65a00248e9343d6131acd1b7ee24c6fcf4a4d.tar.gz server-57a65a00248e9343d6131acd1b7ee24c6fcf4a4d.tar.xz |
Add gpodder container initial implementation
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}." +} |