Provision walker
server
This will eventually replace `grimes`
This commit is contained in:
parent
ba8220cff2
commit
70829dc617
1 changed files with 36 additions and 0 deletions
36
terraform/walker_vps.tf
Normal file
36
terraform/walker_vps.tf
Normal 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
|
||||
}
|
Loading…
Reference in a new issue