Home /tech /Terraform builds your servers automatically /

Terraform builds your servers automatically

2:17 am, April 23, 2017

Original Post Date: 11:57 pm, July 28, 2014

Looks interesting, it can build servers, VPS and containers from script.

Today we announce Terraform, a tool for safely and efficiently building, combining, and launching infrastructure. From physical servers to containers to SaaS products, Terraform is able to create and compose all the components necessary to run any service or application.

Example Config:

resource "digitalocean_droplet" "web" {
   name = "tf-web"
   size = "512mb"
   image = "centos-5-8-x32"
   region = "sfo1"
}

resource "dnsimple_record" "hello" {
   domain = "example.com"
   name = "test"
   value = "${digitalocean_droplet.web.ipv4_address}"
   type = "A"
}