24. Terraform
$ terraform apply
digitalocean_droplet.ht-coreos-1: Creating...
image: "" => "coreos-alpha"
name: "" => "ht-coreos-1"
private_networking: "" => "true"
region: "" => "nyc3"
size: "" => "512mb"
ssh_keys.#: "" => "1"
ssh_keys.0: "" => "131228"
digitalocean_droplet.ht-coreos-1: Creation complete
!
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
!
The state of your infrastructure has been saved to the path
below. This state is required to modify and destroy your
infrastructure, so keep it safe. To inspect the complete state
use the `terraform show` command.
!
State path: terraform.tfstate
44. Terraform
resource "dnsimple_record" “cluster-1" {
domain = “humantalks.com"
name = "cluster-1"
value = “${digitalocean_droplet.web.ipv4_address}"
type = "A"
}