From f0b2b187677470064b4babeb3f055d9aaf2454d7 Mon Sep 17 00:00:00 2001 From: nozaq Date: Mon, 6 Jul 2026 12:12:05 +0000 Subject: [PATCH] add the terraform plugin cache --- src/terraform/.devcontainer/devcontainer.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/terraform/.devcontainer/devcontainer.json b/src/terraform/.devcontainer/devcontainer.json index 92da12d..0a8b07b 100644 --- a/src/terraform/.devcontainer/devcontainer.json +++ b/src/terraform/.devcontainer/devcontainer.json @@ -9,6 +9,14 @@ // "EDITOR": "code --wait", // "GIT_EDITOR": "code --wait" // }, + "mounts": [ + // Persist the Terraform plugin cache across container rebuilds. + { + "source": "${devcontainerId}-terraform-plugin-cache", + "target": "/home/dev/.terraform.d/plugin-cache", + "type": "volume" + }, + ], "customizations": { "vscode": { "extensions": [ @@ -31,4 +39,4 @@ } } } -} +} \ No newline at end of file