This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
lewis/terraform/main.tf

25 lines
540 B
HCL

terraform {
backend "pg" {
schema_name = "concourse"
conn_str = "postgres://terraform@10.42.0.1/terraform_state"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
}
}
}
provider "libvirt" {
uri = "qemu+ssh://root@lewis.hyp/system"
}
module "concourse" {
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
name = "concourse"
domain_name = "tf-concourse"
memory = 1024 * 4
hypervisor_host = "lewis.hyp"
disk_size = 1024 * 1024 * 1024 * 50
}