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" { resource "cloudflare_record" "jakehowardtech_contessa" {
zone_id = cloudflare_zone.jakehowardtech.id zone_id = cloudflare_zone.jakehowardtech.id
name = "contessa" name = "contessa"
value = "5.39.79.153" value = var.walker_ip
type = "A" type = "A"
ttl = 1 ttl = 1
} }

View file

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