terraform/examples/aws-eip
Valentin Pichard c6beaa7ce8 Fmt all the config files
Signed-off-by: Valentin Pichard <valentin.pichard@corp.ovh.com>
2016-09-22 11:49:09 +00:00
..
README.md
main.tf Fmt all the config files 2016-09-22 11:49:09 +00:00
outputs.tf Fmt all the config files 2016-09-22 11:49:09 +00:00
userdata.sh
variables.tf Fmt all the config files 2016-09-22 11:49:09 +00: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