infrastructure/terraform/walker_vps.tf

29 lines
710 B
Terraform
Raw Normal View History

2021-04-19 21:16:56 +01:00
module "walker_firewall" {
source = "./vultr_firewall/"
description = "walker"
2021-04-24 21:19:04 +01:00
ports = [
"80/tcp",
"443/tcp"
]
2021-04-19 21:16:56 +01:00
}
resource "vultr_instance" "walker" {
plan = "vhf-1c-2gb"
2021-04-19 21:16:56 +01:00
region = "lhr"
hostname = "walker"
firewall_group_id = module.walker_firewall.firewall_group.id
}
2022-01-19 08:29:56 +00:00
resource "vultr_reverse_ipv4" "walker_reverse_ipv4" {
instance_id = vultr_instance.walker.id
ip = vultr_instance.walker.main_ip
reverse = "walker.sys.theorangeone.net"
}
2023-04-23 13:56:44 +01:00
resource "vultr_reverse_ipv6" "walker_reverse_ipv6" {
instance_id = vultr_instance.walker.id
ip = vultr_instance.walker.v6_main_ip
reverse = "walker.sys.theorangeone.net"
}