Commit 32168b2e authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Add matrix server

parent 3c40a3c5
...@@ -90,3 +90,18 @@ resource "hcloud_server" "ldap" { ...@@ -90,3 +90,18 @@ resource "hcloud_server" "ldap" {
ignore_changes = [image] ignore_changes = [image]
} }
} }
resource "hcloud_rdns" "matrix" {
server_id = "${hcloud_server.matrix.id}"
ip_address = "${hcloud_server.matrix.ipv4_address}"
dns_ptr = "matrix.archlinux.org"
}
resource "hcloud_server" "matrix" {
name = "matrix.archlinux.org"
image = "${data.hcloud_image.archlinux.id}"
server_type = "cx21"
lifecycle {
ignore_changes = [image]
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment