SamTV12345-PodFetch/setup/terraform/postgres-docker/prepare-traefik/main.tf

22 lines
550 B
HCL

variable "path-to-samples" {
default = "./samples"
}
resource "local_file" "traefik_toml" {
source = "${var.path-to-samples}/traefik.toml"
filename = var.traefik_toml_location
}
resource "local_file" "traefik_access_log" {
content = ""
filename = var.traefik_access_log_location
}
resource "local_file" "traefik-dynamic-conf" {
source = "${var.path-to-samples}/dynamic.toml"
filename = var.traefik_dynamic_conf_location
}
resource "local_file" "traefik_acme_json" {
filename = var.traefik_acme_location
content = ""
}