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