mirror of
https://github.com/luigieai/homelab.git
synced 2025-06-07 07:56:37 -03:00
formatting
This commit is contained in:
parent
204f04081a
commit
b414d340a8
7 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
resource "nomad_job" "app" {
|
||||
jobspec = templatefile("${path.module}/conf/icecast.hcl", {
|
||||
NOMAD_ALLOC_DIR = "/alloc"
|
||||
NOMAD_ALLOC_DIR = "/alloc"
|
||||
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
resource "nomad_job" "app" {
|
||||
jobspec = templatefile("${path.module}/conf/redis.hcl", {
|
||||
NOMAD_ALLOC_DIR = "/alloc"
|
||||
NOMAD_ALLOC_DIR = "/alloc"
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
|
@ -4,11 +4,11 @@ variable "discord_webhook" {
|
|||
}
|
||||
|
||||
variable "twitch_username" {
|
||||
type = string
|
||||
type = string
|
||||
description = "Twitch username"
|
||||
}
|
||||
|
||||
variable "twitch_password" {
|
||||
type = string
|
||||
description = "Twitch password"
|
||||
type = string
|
||||
description = "Twitch password"
|
||||
}
|
||||
|
|
|
@ -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
|
||||
description = "Twitch password"
|
||||
type = string
|
||||
description = "Twitch password"
|
||||
}
|
Loading…
Add table
Reference in a new issue