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
500 B
Terraform
Raw Normal View History

2023-05-17 09:00:17 +00:00
terraform {
backend "pg" {
schema_name = "concourse"
2023-05-17 09:00:17 +00:00
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
2023-05-17 09:00:17 +00:00
hypervisor_host = "lewis.hyp"
}