From 67733fc1f53620d99f39c9c5b0a8a5af6fd33295 Mon Sep 17 00:00:00 2001 From: cmendible <266546+cmendible@users.noreply.github.com> Date: Wed, 6 Mar 2024 12:51:56 +0100 Subject: [PATCH] Add content MD5 verification for storage share files --- infra/modules/st/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/modules/st/main.tf b/infra/modules/st/main.tf index fce9057..86b2a9c 100644 --- a/infra/modules/st/main.tf +++ b/infra/modules/st/main.tf @@ -77,6 +77,7 @@ resource "azurerm_storage_share_file" "customization" { name = each.value storage_share_id = azurerm_storage_share.customization.id source = "${path.module}/customization/customer/${each.value}" + content_md5 = filemd5("${path.module}/customization/customer/${each.value}") } resource "azurerm_role_assignment" "storage_contributor" {