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

26 lines
544 B
Terraform
Raw Normal View History

2023-05-08 21:49:04 +00:00
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
}