Skip to content

jijeesh/terraform-ansible-dynamic-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform+Ansible Example

This repository sets up:

Install:

  1. Go

Once installed, create a workspace, configure the GOPATH and add the workspace's bin folder to your system path:

$ mkdir $HOME/go
$ export GOPATH=$HOME/go
$ export PATH=$PATH:$GOPATH/bin

Next, install terraform-inventory

$ go get -u github.com/jijeesh/terraform-inventory

##Generating a new SSH key

ssh-keygen -t rsa -b 4096 -C "[email protected]"

Usage

./deploy.sh

More information about the AWS environment variables. If it is successful, you should see an address printed out at the end. Visit this in your browser, and the page should say "Welcome to nginx!"

Notes

Cleanup

cd terraform
terraform destroy

About

terraform ansible dynamic inventory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published