Skip to content

Commit

Permalink
Update storage share file paths and add content MD5 checksums
Browse files Browse the repository at this point in the history
  • Loading branch information
heblasco committed Mar 7, 2024
1 parent 37c52a0 commit 2d61e4e
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 2 deletions.
Binary file added infra/modules/st/docs/Benefit_Options.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added infra/modules/st/docs/PerksPlus.pdf
Binary file not shown.
Binary file added infra/modules/st/docs/employee_handbook.pdf
Binary file not shown.
Binary file added infra/modules/st/docs/role_library.pdf
Binary file not shown.
5 changes: 3 additions & 2 deletions infra/modules/st/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ resource "azurerm_storage_share" "customization" {
}

resource "azurerm_storage_share_file" "docs" {
for_each = fileset("${path.module}/../../../azure-search-openai-demo/data", "*")
for_each = fileset("${path.module}/docs", "*")
name = each.value
storage_share_id = azurerm_storage_share.share.id
source = "${path.module}/../../../azure-search-openai-demo/data/${each.value}"
source = "${path.module}/docs/${each.value}"
content_md5 = filemd5("${path.module}/docs/${each.value}")
}

resource "azurerm_storage_share_file" "customization" {
Expand Down

0 comments on commit 2d61e4e

Please sign in to comment.