Move walker IP into variable

The OVH provider is "completely fucked"!
This commit is contained in:
Jake Howard 2020-07-14 19:19:54 +01:00
parent 52e8f34198
commit f1170b8a9b
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 5 additions and 1 deletions

View File

@ -143,7 +143,7 @@ resource "cloudflare_record" "jakehowardtech_homeassistant" {
resource "cloudflare_record" "jakehowardtech_contessa" {
zone_id = cloudflare_zone.jakehowardtech.id
name = "contessa"
value = "5.39.79.153"
value = var.walker_ip
type = "A"
ttl = 1
}

View File

@ -1,2 +1,6 @@
variable "vultr_api_key" {}
variable "cloudflare_api_key" {}
variable "walker_ip" {
default = "5.39.79.153"
}