30 lines
814 B
HCL
30 lines
814 B
HCL
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
|
|
}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
module "postgresql" {
|
|
source = "../modules/postgresql"
|
|
host = "pg.monotremata.xyz"
|
|
password = var.pg_passwd
|
|
username = "terraform"
|
|
db_owner = "rilla"
|
|
}
|