Skip to content

Commit

Permalink
fix path concat
Browse files Browse the repository at this point in the history
  • Loading branch information
levinandrew committed Aug 24, 2024
1 parent d29f1ec commit 358a976
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ locals {
default_bucket_config = {
provider = "az"
name = var.storage_account
path = var.blob_container
path = "${var.blob_container}/${var.bucket_path}"
accessKey = var.storage_key
}
bucket_config = var.external_bucket != null ? var.external_bucket : (local.use_customer_bucket ? local.default_bucket_config : null)
Expand Down Expand Up @@ -250,13 +250,13 @@ module "wandb" {
bucket = local.bucket_config == null ? {
provider = "az"
name = module.storage[0].account.name
path = module.storage[0].container.name + "/" + var.bucket_path
path = "${module.storage[0].container.name}/${var.bucket_path}"
accessKey = module.storage[0].account.primary_access_key
} : local.bucket_config
defaultBucket = {
provider = "az"
name = module.storage[0].account.name
path = module.storage[0].container.name + "/" + var.bucket_path
path = "${module.storage[0].container.name}/${var.bucket_path}"
accessKey = module.storage[0].account.primary_access_key
}
azureIdentityForBucket = {
Expand Down

0 comments on commit 358a976

Please sign in to comment.