Terraform project that deploys VSCode Server on Oracle Cloud Infrastructure (free tier) and protect the access with Cloudflare Zero Trust (optional) or an SSH tunnel
To avoid losing the pre-commit cache after the recreation of the instance, we need to save the ~/.cache/pre-commit folder to the /data volume and create a symlink at the boot time.
To avoid losing the pre-commit cache after the recreation of the instance, we need to save the
~/.cache/pre-commit
folder to the/data
volume and create a symlink at the boot time.