sky-uk / terraform-provider-infoblox

Terraform Infoblox provider
BSD 3-Clause "New" or "Revised" License
15 stars 10 forks source link

unexpected EOF on terraform apply : panic: interface conversion: interface {} is nil, not []interface {} #83

Closed Priteshkal closed 6 years ago

Priteshkal commented 6 years ago

Terraform Version

Terraform v0.11.8

main.tf

provider "infoblox" {
  username             = "${var.infoblox_username}"
  password             = "${var.infoblox_password}"
  server               = "${var.infoblox_server}"
  allow_unverified_ssl = "${var.infoblox_sslverify}"
  version              = "0.1.11"
}
resource "infoblox_arecord" "acctest" {
  name     = "hello.local"
  ipv4addr = "10.0.0.10"
  ttl      = 9000
}

Crash.log

crash.log

keithhopkins-gpc commented 6 years ago

Try setting the WAPI version in the provider. Our Infobox is only v2.5, but the current code defaults to v2.6.1, and that caused this type of error.

Priteshkal commented 6 years ago

That does it. Thank you @keithhopkins-gpc