Verified Commit 62a90380 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

tf-stage1: Create the security server

Given that we are migrating everything out of apollo, create a machine
for hosting security.archlinux.org
parent d97c7b3c
Pipeline #3920 passed with stage
in 42 seconds
......@@ -1447,3 +1447,24 @@ resource "hcloud_server" "patchwork" {
ignore_changes = [image]
}
}
resource "hcloud_rdns" "security_ipv4" {
server_id = hcloud_server.security.id
ip_address = hcloud_server.security.ipv4_address
dns_ptr = "security.archlinux.org"
}
resource "hcloud_rdns" "security_ipv6" {
server_id = hcloud_server.security.id
ip_address = hcloud_server.security.ipv6_address
dns_ptr = "security.archlinux.org"
}
resource "hcloud_server" "security" {
name = "security.archlinux.org"
image = data.hcloud_image.archlinux.id
server_type = "cx11"
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