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

27 lines
598 B
Terraform
Raw Permalink Normal View History

2023-05-06 14:54:58 +00:00
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"
}