more things

This commit is contained in:
Tommy Parnell
2022-06-22 18:28:36 -04:00
parent 7eaa118d31
commit 6f6d02dcb0
2 changed files with 9 additions and 13 deletions

View File

@@ -3,4 +3,13 @@ resource "digitalocean_droplet" "web" {
name = "web-1"
region = "nyc1"
size = "s-1vcpu-1gb-amd"
}
resource "cloudflare_record" "foobar" {
zone_id = var.cloudflare_zone
name = "ide"
value = digitalocean_droplet.web.ipv4_address
type = "CNAME"
ttl = 3600
ssh_keys = var.ssh_keys
}

View File

@@ -11,19 +11,6 @@ terraform {
}
}
variable "do_token" {
type = string
}
variable "cloudflare_email" {
type = string
}
variable "cloudflare_api_key" {
type = string
}
variable "cloudflare_zone" {
type = string
}
# Configure the DigitalOcean Provider