I thought I have seen everything by now, but the documentation of this Site24x7 resource is the worst. Missing arguments, wrong documented arguments / types etc.
Command 'terraform init' successfully done: .
Validation failed: .
╷
│ Error: Incorrect attribute value type
│
│ on main.tf line 5, in resource "site24x7_web_transaction_browser_monitor" "this":
│ 5: proxy_details = var.proxy_details
│ ├────────────────
│ │ var.proxy_details is a list of string
│
│ Inappropriate value for attribute "proxy_details": map of string required.
╵
╷
│ Error: Unsupported argument
│
│ on main.tf line 9, in resource "site24x7_web_transaction_browser_monitor" "this":
│ 9: type = var.type
│
│ An argument named "type" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on main.tf line 21, in resource "site24x7_web_transaction_browser_monitor" "this":
│ 21: auth_pass = var.auth_pass
│
│ An argument named "auth_pass" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on main.tf line 22, in resource "site24x7_web_transaction_browser_monitor" "this":
│ 22: auth_user = var.auth_user
│
│ An argument named "auth_user" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on main.tf line 23, in resource "site24x7_web_transaction_browser_monitor" "this":
│ 23: credential_profile_id = var.credential_profile_id
│
│ An argument named "credential_profile_id" is not expected here.
╵
╷
│ Error: Incorrect attribute value type
│
│ on main.tf line 24, in resource "site24x7_web_transaction_browser_monitor" "this":
│ 24: ip_type = var.ip_type
│ ├────────────────
│ │ var.ip_type is a bool
│
│ Inappropriate value for attribute "ip_type": number required.
I thought I have seen everything by now, but the documentation of this Site24x7 resource is the worst. Missing arguments, wrong documented arguments / types etc.