Zabbix_item_http check web server status by Headers

I’m trying to configure http item to check my web server status is 200.
I’m using this terraform script to create item:

resource "zabbix_item_http" "check_200_item" {
  hostid    =
  key       = "check_200"
  name      = "check_200"
  valuetype = "text"
  delay     = "1m"
  history   = "90d"
  url             = ""
  request_method  = "post"
  status_codes    = "200"

How can set by terraform “Retrieve Mode = Headers”?


I tried to add retrieve_mode = "1" but it doesn’t work and I receive

Error: Unsupported argument