2021-06-20 12:01:20 +01:00
|
|
|
module "grimes_firewall" {
|
|
|
|
source = "./vultr_firewall/"
|
|
|
|
|
|
|
|
description = "grimes"
|
|
|
|
ports = [
|
|
|
|
"80/tcp",
|
|
|
|
"443/tcp",
|
2022-03-03 20:29:53 +00:00
|
|
|
"7743/tcp",
|
2021-06-20 12:01:20 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "vultr_instance" "grimes" {
|
|
|
|
plan = "vhf-1c-1gb"
|
|
|
|
region = "lhr"
|
|
|
|
hostname = "grimes"
|
|
|
|
firewall_group_id = module.grimes_firewall.firewall_group.id
|
|
|
|
}
|
2022-01-19 08:29:56 +00:00
|
|
|
|
|
|
|
resource "vultr_reverse_ipv4" "grimes_reverse_ipv4" {
|
|
|
|
instance_id = vultr_instance.grimes.id
|
|
|
|
ip = vultr_instance.grimes.main_ip
|
|
|
|
reverse = "grimes.sys.theorangeone.net"
|
|
|
|
}
|