terraform/lan/main.tf

30 lines
814 B
Terraform
Raw Normal View History

2023-05-29 15:10:50 +02:00
terraform {
backend "s3" {
endpoint = "https://minio.monotremata.xyz"
bucket = "terraform"
key = "terraform.state"
region = "main"
force_path_style = true
skip_credentials_validation = true
skip_metadata_api_check = true
skip_region_validation = true
2023-05-29 15:10:50 +02:00
}
}
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"
}