awslabs / aws-terraform-dev-container

A VSCode Dev Container with tools to help you build and manage AWS infrastructure with Terraform
MIT No Attribution
137 stars 21 forks source link
aws container devcontainer development environment terraform vscode

logo

AWS Terraform Dev Container

A VSCode Dev Container with tools to help you build and manage AWS infrastructure with Terraform

screenshot-1
Develop your project in a Docker container
screenshot-2
Increase productivity with well-defined Make commands
screenshot-3
Ensure every team member has all the tools on their correct versions
screenshot-4
Extensions already installed for you

Table of Contents

Getting Started

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

To reopen in container manually, open the command pallete on VS Code and select Rebuild and Reopen in Container

Prerequisites

A list of things you need, or how to install them.

Usage

make [tab][tab]

For example, if you want to explore the most common terraform commands:

make terraform/[tab]
apply     clean     destroy   fmt       init      init/     plan      validate  version

To display all available commands:

make help

For more information about each Make targets available.

References

License

This project is licensed under the MIT-0 License. See the LICENSE file.

Copyright

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.