From 22421ad0a84ecb3a112fb657ae7057161dce0971 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Mon, 17 Nov 2025 10:07:34 -0500 Subject: [PATCH] fix(e2e): Use tmpfs block to open up permissions of directory --- enos/modules/docker_worker/main.tf | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/enos/modules/docker_worker/main.tf b/enos/modules/docker_worker/main.tf index b058307d41..2fb2a55312 100644 --- a/enos/modules/docker_worker/main.tf +++ b/enos/modules/docker_worker/main.tf @@ -96,13 +96,9 @@ resource "docker_container" "worker" { capabilities { add = ["IPC_LOCK"] } - mounts { - type = "tmpfs" - target = local.recording_storage_path - } - mounts { - type = "tmpfs" - target = "/boundary/logs" + tmpfs = { + (local.recording_storage_path) = "mode=1777" + "/boundary/logs" = "mode=1777" } upload { content = templatefile("${abspath(path.module)}/${var.config_file}", {