A VSCode Dev Container to help you build and manage your infrastructure with Terraform
- On a terminal, inside your Terraform project, execute the following on Mac, Linux or [WSL][wsl]:
curl -sL https://raw.githubusercontent.com/gyulshenabaz/terraform-dev-container/main/scripts/init.sh | bash
- Open the folder with VSCode
- Reopen in Container
- Install Visual Studio Code
- Install Docker
- Install VS Code Dev Containers Extension
- GitHub usage - if using SSH setup, share the Git credentials from your local machine as specified here
- Mastering Terraform with Visual Studio Code Dev Containers - Medium article written by myself for more context and information
- Terraform by HashiCorp - Terraform is an open-source infrastructure as code software tool that enables you to safely and predictably create, change, and improve infrastructure.