This repository has been archived on 2023-05-09. You can view files and clone it, but cannot push or open issues or pull requests.
carwash/terraform/main.tf
2023-05-08 23:49:04 +02:00

25 lines
544 B
HCL

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