Dynatrace / obslab-predictive-kubernetes-scaling

Observability Lab: Predictive Auto-Scaling for Kubernetes Workloads
https://dynatrace.github.io/obslab-predictive-kubernetes-scaling
Apache License 2.0
4 stars 8 forks source link

Configuration schema app:dynatrace.kubernetes.connector:connection does not exist. #20

Closed agardnerIT closed 1 month ago

agardnerIT commented 1 month ago

This occurs during startup in dynatrace/init.sh

│ Error: Unsupported attribute
│ 
│   on workflow-predict-usage.tf line 332, in resource "dynatrace_automation_workflow" "predict_resource_usage":
│  332:         connection = jsondecode(data.http.get_edge_connect.response_body).items[0].objectId,
│     ├────────────────
│     │ data.http.get_edge_connect.response_body is "{\"error\":{\"code\":404,\"message\":\"Configuration schema app:dynatrace.kubernetes.connector:connection does not exist.\"}}"
│ 
│ This object does not have an attribute named "items".
agardnerIT commented 1 month ago

Users currently need to be enrolled in a preview program. Added a info callout to the docs.

image