26 lines
544 B
Terraform
26 lines
544 B
Terraform
|
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
|
||
|
}
|