infrastructure/terraform/grimes_vps.tf

24 lines
534 B
Terraform
Raw Normal View History

2021-06-20 12:01:20 +01:00
module "grimes_firewall" {
source = "./vultr_firewall/"
description = "grimes"
ports = [
"80/tcp",
"443/tcp",
"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"
}