27 lines
583 B
Terraform
27 lines
583 B
Terraform
|
terraform {
|
||
|
backend "pg" {
|
||
|
schema_name = "alexander"
|
||
|
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 "alexander" {
|
||
|
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
|
||
|
name = "alexander"
|
||
|
domain_name = "tf-alexander"
|
||
|
hypervisor_host = "lewis.hyp"
|
||
|
mac = "CA:FE:C0:FF:EE:0B"
|
||
|
memory = 1024 * 2
|
||
|
insecure_password = true
|
||
|
}
|