Ask questionsHow to set object ID correctly based on response ?
Posting forward zone to Infoblox correctly but getting this Error: Internal validation failed. Object ID is not set.
resource "restapi_object" "Demo_fwd" {
path = "/zone_forward"
data = "{\"fqdn\":\"testapi139.me360.com\",\"forward_to\":[{\"address\":\"10.10.10.10\", \"name\":\"testapi.shared360dev.com\"}]}"
id_attribute = "_ref"
}
When doing the same from Postman I am getting response like below, so not sure how to setup id_attribute in the resource above
"zone_forward/ZG5zLnpvbmUkLl9kZWZhdWx0LmNvbS5hZHZpc29yMzYwLnRlc3RhcGkyMDE:testapi139.me360.com/Internal"
Related questions