brikis98 / terraform-up-and-running-code

Code samples for the book "Terraform: Up & Running" by Yevgeniy Brikman
http://www.terraformupandrunning.com/
MIT License
2.87k stars 1.92k forks source link

adding a vagrant box to jumpstart using terraform #51

Closed elreydetoda closed 4 years ago

elreydetoda commented 4 years ago

since you are using/teaching some hashicorp tools. I figure why not include another one, that people can use if they want or not, to jump start using terraform. I have added a Vagrantfile that is just a base 18.04 (just using LTS not most recent) box from the bento (chef org) project. Then I added a script that does the following:

  1. updates the vagrant box to have everything up to date
  2. install most recent terraform
  3. add a nicety to happen on first connect ( ask for AWS creds and add them to .bashrc as environmental variables )