This repository has been archived on 2023-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
nextcloud/terraform/main.tf
2023-05-06 16:54:58 +02:00

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"
}