Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gyulshenabaz/terraform-dev-container

Dev Containers Containerized Development Environment for Terraform
https://github.com/gyulshenabaz/terraform-dev-container

Last synced: 29 days ago
JSON representation

Dev Containers Containerized Development Environment for Terraform

Awesome Lists containing this project

README

        

# Terraform VS Code Container
A VSCode Dev Container to help you build and manage your infrastructure with Terraform

## Table of Contents

- [Getting Started](#getting-started)

- [Prerequisites](#prerequisites)

- [Usage](#usage)

## Getting Started

1. On a terminal, inside your Terraform project, execute the following on Mac, Linux or [WSL][wsl]:
```bash
curl -sL https://raw.githubusercontent.com/gyulshenabaz/terraform-dev-container/main/scripts/init.sh | bash
````
2. Open the folder with VSCode
3. Reopen in Container

## Getting Started
1. [Install Visual Studio Code](https://code.visualstudio.com/download)
2. [Install Docker](https://docs.docker.com/get-docker/)
3. [Install VS Code Dev Containers Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
4. GitHub usage - if using SSH setup, share the Git credentials from your local machine as specified [here](https://code.visualstudio.com/docs/devcontainers/containers#_using-ssh-keys)

## References
- [Mastering Terraform with Visual Studio Code Dev Containers](link) - Medium article written by myself for more context and information
- [Terraform by HashiCorp](https://www.terraform.io) - Terraform is an open-source infrastructure as code software tool that enables you to safely and predictably create, change, and improve infrastructure.