terraform/lan/main.tf

23 lines
477 B
Terraform
Raw Normal View History

2023-05-29 15:10:50 +02:00
terraform {
backend "pg" {}
required_providers {
}
}
module "cert-manager" {
source = "../modules/cert-manager"
hetzner_token = var.hetzner_token
email = var.email
zone_name = var.zone_name
dns_common_name = var.dns_common_name
dns_names = var.dns_names
}
2023-06-04 18:45:08 +02:00
module "postgresql" {
source = "../modules/postgresql"
host = "pg.monotremata.xyz"
password = var.pg_passwd
username = "terraform"
db_owner = "rilla"
}