Open elchananmizrachi opened 1 year ago
[Triage] @prudhvigodithi Could you help look into this? Thanks.
@elchananmizrachi i have this running properly on 2.7 if this is an option for you
I have the same issue but with opensearch_monitor
resource
Here is the debug log. Is it possible to see a content of unexpected data
?
2023-12-14T16:39:44.271+0100 [INFO] Starting apply for module.file_dms["example"].opensearch_monitor.scan_issue
2023-12-14T16:39:44.274+0100 [DEBUG] module.file_dms["example"].opensearch_monitor.scan_issue: applying the planned Create change
2023-12-14T16:39:44.274+0100 [WARN] unexpected data: registry.terraform.io/opensearch-project/opensearch:stderr="{"@caller":"github.com/hashicorp/terraform-plugin-sdk/v2@v2.12.0/internal/logging/helper_schema.go:21","@level":"trace","@message":"Calling downstream","@module":"sdk.helper_schema","@timestamp":"2023-12-14T16:39:44.274485+01:00"}"
2023-12-14T16:39:44.274+0100 [INFO] provider.terraform-provider-opensearch_v2.1.0: 2023/12/14 16:39:44 [INFO] Pinging url to determine version https://os-logs-dashboard.example.com with timeout 5s: timestamp=2023-12-14T16:39:44.274+0100
2023-12-14T16:39:44.508+0100 [INFO] provider.terraform-provider-opensearch_v2.1.0: 2023/12/14 16:39:44 [INFO] Failed to put monitor: invalid character '<' looking for beginning of value: timestamp=2023-12-14T16:39:44.508+0100
2023-12-14T16:39:44.508+0100 [WARN] unexpected data: registry.terraform.io/opensearch-project/opensearch:stderr="{"@caller":"github.com/hashicorp/terraform-plugin-sdk/v2@v2.12.0/internal/logging/helper_schema.go:21","@level":"trace","@message":"Called downstream","@module":"sdk.helper_schema","@timestamp":"2023-12-14T16:39:44.508762+01:00"}"
2023-12-14T16:39:44.509+0100 [ERROR] vertex "module.file_dms[\"example\"].opensearch_monitor.scan_issue" error: invalid character '<' looking for beginning of value
Could it be similar to this one? https://github.com/stripe/stripe-go/issues/642#issuecomment-410399794
Or this one https://github.com/grafana/k6/issues/773
Edit: It definitely not the first one as provider doesn't make any connections to OpenSearch. Then it's, probably, the second, however, json linter doesn't return any errors.
Edit2: I tried to copy/paste example from here but still have the same issue
Hi,
Trying to map roles to backend, after enabling FGAC on OpenSearch 2.3, using this block:
provider version 2.0.0-beta.1
Getting:
│ Error: invalid character '<' looking for beginning of value
Did someone came across this issue and have a solution?