terraform/examples/aws-eip
Gaurav Chaturvedi e303d0e441 Typo in the word install 2016-01-21 17:22:25 +05:30
..
README.md Typo in the word install 2016-01-21 17:22:25 +05:30
main.tf examples: unify the configuration file syntax 2015-08-31 10:24:07 +02:00
outputs.tf Initial commit aws-eip sample 2015-06-09 15:57:17 -04:00
userdata.sh New line 2015-06-09 16:24:05 -04:00
variables.tf examples: unify the configuration file syntax 2015-08-31 10:24:07 +02:00

README.md

Elastic IP Example

The eip example launches a web server, installs nginx. It also creates security group

To run, configure your AWS provider as described in https://www.terraform.io/docs/providers/aws/index.html

Running the example

run terraform apply -var 'key_name={your_key_name}'

Give couple of mins for userdata to install nginx, and then type the Elastic IP from outputs in your browser and see the nginx welcome page