Skip to content

Template showing how to start developing with Terraform and the given devcontainer

License

Notifications You must be signed in to change notification settings

SoftwareAG/sag-devcontainer-aws-terraform-template-01

Repository files navigation

Template showing how to start developing with Terraform and the given devcontainer

The purpose of this template is to allow for a quick start with AWS IaC projects using the provided devcontainer.

Quick Start

  • ensure the prerequisites:
    • Development box (PC, remote dev machine etc.):
      • PC able to run docker compose projects
      • git client(s) to clone the repository
      • Visual Studio Code
    • AWS
      • account where permissions do administer resources is granted
  • generate a new repository from the template
  • clone the generated repository
  • open the folder in Visual Studio Code
    • the IDE detects the presence of a devcontainer and asks to "reopen in container"
  • once Visual Studio Code reopens in container:
    • Select AWS extensions and execute the necessary log ins
    • Select the checkov extension and add the API token. If you don't have one, register to the service
    • In a terminal:
      • execute aws configure and connect the shell to AWS
      • execute cd /workshop && terraform init

Other Aspects

If you want to use this template for multiple projects, it is recommended to change the submodule mount path to unique names, otherwise the docker compose operations on the same directory may go in conflict with one another. This can be easily achieved with a git move command as explained in this article.

About

Template showing how to start developing with Terraform and the given devcontainer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages