formatting

This commit is contained in:
Luigi Oliveira 2024-10-24 03:03:03 -03:00
parent 204f04081a
commit b414d340a8
7 changed files with 14 additions and 14 deletions

View file

@ -48,7 +48,7 @@ module "icecast" {
}
module "twitchminer" {
source = "./modules/twitchminer"
source = "./modules/twitchminer"
discord_webhook = var.discord_webhook
twitch_username = var.twitch_username
twitch_password = var.twitch_password

View file

@ -1,6 +1,6 @@
resource "nomad_job" "app" {
jobspec = templatefile("${path.module}/conf/icecast.hcl", {
NOMAD_ALLOC_DIR = "/alloc"
NOMAD_ALLOC_DIR = "/alloc"
})
}

View file

@ -4,7 +4,7 @@ resource "nomad_job" "app" {
POSTGREE_ENDPOINT = var.postgree_endpoint
POSTGREE_USER = var.postgree_user
POSTGREE_PASSWORD = var.postgree_password
KC_USER = var.KC_USER
KC_PASSWORD = var.KC_PASSWORD
KC_USER = var.KC_USER
KC_PASSWORD = var.KC_PASSWORD
})
}

View file

@ -1,5 +1,5 @@
resource "nomad_job" "app" {
jobspec = templatefile("${path.module}/conf/redis.hcl", {
NOMAD_ALLOC_DIR = "/alloc"
NOMAD_ALLOC_DIR = "/alloc"
})
}

View file

@ -1,6 +1,6 @@
resource "nomad_job" "app_twitchminer" {
jobspec = templatefile("${path.module}/conf/twitchminer.hcl", {
NOMAD_ALLOC_DIR = "/alloc"
RUN_FILE = data.template_file.runpy.rendered
NOMAD_ALLOC_DIR = "/alloc"
RUN_FILE = data.template_file.runpy.rendered
})
}

View file

@ -4,11 +4,11 @@ variable "discord_webhook" {
}
variable "twitch_username" {
type = string
type = string
description = "Twitch username"
}
variable "twitch_password" {
type = string
type = string
description = "Twitch password"
}

View file

@ -34,16 +34,16 @@ variable "kc_password" {
}
variable "discord_webhook" {
type = string
type = string
description = "Discord webhook"
}
variable "twitch_username" {
type = string
type = string
description = "Twitch username"
}
variable "twitch_password" {
type = string
type = string
description = "Twitch password"
}