Provision walker server

This will eventually replace `grimes`
This commit is contained in:
Jake Howard 2021-03-23 21:31:31 +00:00
parent ba8220cff2
commit 70829dc617
Signed by: jake
GPG key ID: 57AFB45680EDD477

36
terraform/walker_vps.tf Normal file
View file

@ -0,0 +1,36 @@
resource "vultr_instance" "walker" {
plan = "vhf-1c-1gb"
region = "lhr"
hostname = "walker"
firewall_group_id = vultr_firewall_group.walker.id
}
resource "vultr_firewall_group" "walker" {
description = "walker"
}
resource "vultr_firewall_rule" "walker_ping" {
firewall_group_id = vultr_firewall_group.walker.id
protocol = "icmp"
ip_type = "v4"
subnet = "0.0.0.0"
subnet_size = 0
}
resource "vultr_firewall_rule" "walker_web" {
firewall_group_id = vultr_firewall_group.walker.id
protocol = "tcp"
port = 80
ip_type = "v4"
subnet = "0.0.0.0"
subnet_size = 0
}
resource "vultr_firewall_rule" "walker_web_secure" {
firewall_group_id = vultr_firewall_group.walker.id
protocol = "tcp"
port = 443
ip_type = "v4"
subnet = "0.0.0.0"
subnet_size = 0
}