Initial skeleton of setup. Ansible only runs a few initial tasks.

This commit is contained in:
2018-07-06 09:10:03 -04:00
parent 52622c83c9
commit 37f59db7b3
19 changed files with 505 additions and 0 deletions

16
terraform/cloudflare.tf Normal file
View File

@@ -0,0 +1,16 @@
variable "cloudflare_key" {}
# Configure the Cloudflare provider
provider "cloudflare" {
email = "jacob.wimer@gmail.com"
token = "${var.cloudflare_key}"
}
# Create a record
resource "cloudflare_record" "wimermedia-record" {
domain = "wimermedia.com"
name = "terraform"
# value = "${digitalocean_floating_ip.web.ip_address}"
value = "${digitalocean_droplet.web.ipv4_address}"
type = "A"
}