2021-03-23 22:33:10 +00:00
|
|
|
module "walker_firewall" {
|
|
|
|
source = "./vultr_firewall/"
|
|
|
|
|
|
|
|
description = "walker"
|
|
|
|
ports = toset([
|
2021-03-23 22:09:48 +00:00
|
|
|
"80/tcp",
|
|
|
|
"443/tcp",
|
|
|
|
])
|
|
|
|
}
|
|
|
|
|
2021-03-23 22:33:10 +00:00
|
|
|
|
2021-03-23 21:31:31 +00:00
|
|
|
resource "vultr_instance" "walker" {
|
|
|
|
plan = "vhf-1c-1gb"
|
|
|
|
region = "lhr"
|
|
|
|
hostname = "walker"
|
2021-03-23 22:33:10 +00:00
|
|
|
firewall_group_id = module.walker_firewall.firewall_group.id
|
2021-03-23 22:09:48 +00:00
|
|
|
}
|