aboutsummaryrefslogtreecommitdiff
path: root/vps.tf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-05 06:59:14 -0300
committerEuAndreh <eu@euandre.org>2020-08-05 06:59:14 -0300
commit57a65a00248e9343d6131acd1b7ee24c6fcf4a4d (patch)
treed77e12d4adf111b843e145fa70bd0b74b138846f /vps.tf
parentCheckpoint: working Nextcloud installation with configured trusted domains (diff)
downloadserver-57a65a00248e9343d6131acd1b7ee24c6fcf4a4d.tar.gz
server-57a65a00248e9343d6131acd1b7ee24c6fcf4a4d.tar.xz
Add gpodder container initial implementation
Diffstat (limited to 'vps.tf')
-rw-r--r--vps.tf12
1 files changed, 12 insertions, 0 deletions
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}."
+}