26 lines
523 B
Terraform
26 lines
523 B
Terraform
|
terraform {
|
||
|
backend "pg" {
|
||
|
schema_name = "thecloud"
|
||
|
}
|
||
|
|
||
|
required_providers {
|
||
|
libvirt = {
|
||
|
source = "dmacvicar/libvirt"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
provider "libvirt" {
|
||
|
uri = "qemu+ssh://root@lewis.hyp/system"
|
||
|
}
|
||
|
|
||
|
module "thecloud" {
|
||
|
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
|
||
|
name = "thecloud"
|
||
|
domain_name = "tf-thecloud"
|
||
|
hypervisor_host = "lewis.hyp"
|
||
|
mac = "CA:FE:C0:FF:EE:0A"
|
||
|
data_share = ""
|
||
|
data_disk = "/kvm/data/nfs-data"
|
||
|
}
|