Skip to content

Commit

Permalink
Add extra envs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Dec 14, 2023
1 parent 1e58bc8 commit f4434f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ module "wandb" {
host = local.url
license = var.license

extraEnv = var.other_wandb_env

bucket = {
provider = "s3"
name = local.bucket_name
Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -332,3 +332,8 @@ variable "license" {
description = "Weights & Biases license key."
}

variable "other_wandb_env" {
type = map(any)
description = "Extra environment variables for W&B"
default = {}
}

0 comments on commit f4434f8

Please sign in to comment.