26 lines
598 B
HCL
26 lines
598 B
HCL
terraform {
|
|
backend "pg" {
|
|
schema_name = "nextcloud"
|
|
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 "nextcloud" {
|
|
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
|
|
name = "nextcloud"
|
|
domain_name = "tf-nextcloud"
|
|
hypervisor_host = "jefke.hyp"
|
|
mac = "CA:FE:C0:FF:EE:09"
|
|
memory = 1024 * 3
|
|
data_share = "/var/snap/nextcloud"
|
|
}
|