This is an example of using Terraform with the digital ocean provider.
The example can be found in their documentation, and this is just a reference.
The infrastructure created comprises of:
- Two nginx servers running on basic digital ocean droplets.
- A haproxy which recieves incoming requests and load balances between the servers.