Skip to content

mtsalt/terraform-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

terraform-docker

Environment for trial use of Terraform. Since tfenv is installed, you can use any version of terraform you need.

Requirements

  • Docker, Docker Compose
  • make

How to use

Commands

  1. Clone this repository

    git clone https://github.com/mtsalt/terraform-docker.git
    
  2. Go to repository directory

    cd terraform-docker
    
  3. Start environment

    make start
    
  4. Setup AWS CLI

    aws configure
    
  5. Install specific version of Terraform

    tfenv install [version]
    
  6. Exit the Terraform environment

    exit
    
  7. Reconnect to the Terraform environment

    make connect
    
  8. Stop the Terraform environment

    make stop
    

Mounted volume (bind mount)

When you run the make start command, the src directory will be created automatically. This folder is mounted in the /src folder inside the container.

Releases

No releases published

Packages

No packages published