diff --git a/terraform/main.tf b/terraform/main.tf index e38eb87..978a57f 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -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 diff --git a/terraform/modules/icecast/job.tf b/terraform/modules/icecast/job.tf index 41d312f..248704e 100644 --- a/terraform/modules/icecast/job.tf +++ b/terraform/modules/icecast/job.tf @@ -1,6 +1,6 @@ resource "nomad_job" "app" { jobspec = templatefile("${path.module}/conf/icecast.hcl", { - NOMAD_ALLOC_DIR = "/alloc" + NOMAD_ALLOC_DIR = "/alloc" }) } diff --git a/terraform/modules/keycloak/job.tf b/terraform/modules/keycloak/job.tf index 46a80cf..f4aa11a 100644 --- a/terraform/modules/keycloak/job.tf +++ b/terraform/modules/keycloak/job.tf @@ -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 }) } diff --git a/terraform/modules/redis/job.tf b/terraform/modules/redis/job.tf index 99679af..40a834d 100644 --- a/terraform/modules/redis/job.tf +++ b/terraform/modules/redis/job.tf @@ -1,5 +1,5 @@ resource "nomad_job" "app" { jobspec = templatefile("${path.module}/conf/redis.hcl", { - NOMAD_ALLOC_DIR = "/alloc" + NOMAD_ALLOC_DIR = "/alloc" }) } diff --git a/terraform/modules/twitchminer/job.tf b/terraform/modules/twitchminer/job.tf index af07a90..0cbcd23 100644 --- a/terraform/modules/twitchminer/job.tf +++ b/terraform/modules/twitchminer/job.tf @@ -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 }) } \ No newline at end of file diff --git a/terraform/modules/twitchminer/variables.tf b/terraform/modules/twitchminer/variables.tf index 9497196..a755f72 100644 --- a/terraform/modules/twitchminer/variables.tf +++ b/terraform/modules/twitchminer/variables.tf @@ -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" } diff --git a/terraform/variables.tf b/terraform/variables.tf index 6cf45fd..e7ecc72 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -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" } \ No newline at end of file