Skip to content

ruilapa/HashiTest

Repository files navigation

Testing

  • vagrant {vbox|aws} + ansible
  • packer
  • docker-compose

Requirements

  • Install virtualenv
  • Install Virtual Box
  • Install Vagrant
    • vagrant init puppetlabs/centos-7.2-64-nocm
    • Several vagrant plugins will be installed on 'vagrant up'
AWS
  • aws_deploy.pem key (EC2 Key Pair named 'aws_deploy')
  • cp config/awskeys.json.template config/awskeys.json
  • EDIT config/awskeys.json accordingly

Config Settings

AWS
  • EDIT config/awsparams.json accordingly
VirtualBox
  • EDIT config/vboxparams.json accordingly

Setup

mkdir VENV
virtualenv VENV
source VENV/bin/activate
pip install -r requirements.txt

Deploy

AWS
vagrant up --provider=aws
VirtualBox
vagrant up

Test

AWS
  • Wait 1 minute to start services and open http://AWS_INSTANCE_IP/
VirtualBox

About

Test Hashicorp tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published