You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can confirm I'm seeing the same thing.
Provider: 1.0.92
Terraform: 1.9.8
11:07:58.455 STDERR terraform: ╷
11:07:58.456 STDERR terraform: │ Error: json: cannot unmarshal string into Go struct field RestApiMonitor.json_schema of type map[string]interface {}
11:07:58.456 STDERR terraform: │
11:07:58.456 STDERR terraform: │ with site24x7_rest_api_monitor.this["test"],
11:07:58.456 STDERR terraform: │ on main.tf line 1, in resource "site24x7_rest_api_monitor" "this":
11:07:58.456 STDERR terraform: │ 1: resource "site24x7_rest_api_monitor" "this" {
11:07:58.456 STDERR terraform: │
11:07:58.456 STDERR terraform: ╵
11:07:58.864 STDOUT terraform: Releasing state lock. This may take a few moments...
11:07:58.968 ERROR terraform invocation failed in .
11:07:58.968 ERROR error occurred:
* Failed to execute "terraform apply -target site24x7_rest_api_monitor.this["test"]" in .
╷
│ Error: json: cannot unmarshal string into Go struct field RestApiMonitor.json_schema of type map[string]interface {}
│
│ with site24x7_rest_api_monitor.this["test"],
│ on main.tf line 1, in resource "site24x7_rest_api_monitor" "this":
│ 1: resource "site24x7_rest_api_monitor" "this" {
│
╵
exit status 1
Description
I am seeing the below error when trying to create a REST API monitor with the Site24x7 provider
Given below is my Terraform configuration
Terraform versions are as following
I found a similar issue reported in #113, however the explanation given doesn't align with the behaviour that I am observing.
The text was updated successfully, but these errors were encountered: