This Terraform module creates EC2 instances into the provided subnets. The subnet defaults will determine if the instances get public ip address or not. The instances are pulled from the Spot Market.
- Terraform installed and working
- Development and testing was done on Ubuntu Linux
Since this is just a collection of Terraform scripts, there is nothing to build.
This module is not installed but, instead, is obtained by the project using the module. See kurron/terraform-environments for example usage.
The debug
folder contains files that can be used to test out local changes
to the module. Edit backend.cfg
and plan.tf
to your liking and
then run debug/debug-module.sh
to test your changes.
The number of created instances can be controlled by setting instance_limit
to a non 0
value. A value of 0
results in one instance per subnet.
This project is licensed under the Apache License Version 2.0, January 2004.