This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
hermes/terraform/main.tf
Pim Kunis 88fd505258 remove circular dependency on DNS
fix terraform module definition
2023-07-14 15:54:48 +02:00

28 lines
571 B
HCL

terraform {
backend "pg" {
schema_name = "dmz_dns"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
}
template = {
source = "hashicorp/template"
}
}
}
provider "libvirt" {
uri = "qemu+ssh://root@atlas.hyp/system"
}
module "vm" {
source = "git::https://git.kun.is/home/tf-modules.git//debian"
name = "hermes"
domain_name = "tf-hermes"
fixed_address = "192.168.30.7/24"
mac = "CA:FE:C0:FF:EE:07"
fixed_dns = "192.168.30.1"
hypervisor_host = "atlas.hyp"
}