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.
lewis/terraform/main.tf
2023-05-17 11:00:17 +02:00

26 lines
583 B
HCL

terraform {
backend "pg" {
schema_name = "alexander"
conn_str = "postgres://terraform@10.42.0.1/terraform_state"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
}
}
}
provider "libvirt" {
uri = "qemu+ssh://root@lewis.hyp/system"
}
module "alexander" {
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
name = "alexander"
domain_name = "tf-alexander"
hypervisor_host = "lewis.hyp"
mac = "CA:FE:C0:FF:EE:0B"
memory = 1024 * 2
insecure_password = true
}