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

26 lines
523 B
Terraform
Raw Normal View History

terraform {
backend "pg" {
schema_name = "max"
conn_str = "postgres://terraform@10.42.0.1/terraform_state"
}
required_providers {
libvirt = {
source = "dmacvicar/libvirt"
}
}
}
provider "libvirt" {
2023-04-26 12:53:57 +00:00
uri = "qemu+ssh://root@atlas.hyp/system"
}
2023-04-26 12:53:57 +00:00
module "debian" {
2023-04-26 12:59:04 +00:00
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
2023-04-26 12:53:57 +00:00
name = "max"
domain_name = "tf-max"
memory = 1024 * 8
mac = "CA:FE:C0:FF:EE:03"
disk_size = 1024 * 1024 * 1024 * 30
}