Environment for trial use of Terraform. Since tfenv is installed, you can use any version of terraform you need.
- Docker, Docker Compose
- make
-
Clone this repository
git clone https://github.com/mtsalt/terraform-docker.git
-
Go to repository directory
cd terraform-docker
-
Start environment
make start
-
Setup AWS CLI
aws configure
-
Install specific version of Terraform
tfenv install [version]
-
Exit the Terraform environment
exit
-
Reconnect to the Terraform environment
make connect
-
Stop the Terraform environment
make stop
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.