24 lines
500 B
HCL
24 lines
500 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"
|
|
}
|