Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynatrace_entities return empty list #263

Closed
MaudVandevelde opened this issue May 31, 2023 · 1 comment
Closed

dynatrace_entities return empty list #263

MaudVandevelde opened this issue May 31, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@MaudVandevelde
Copy link

Describe the bug
I wanted to get the list of kubernetes cluster so I tried with data dynatrace_entities. It did'n work, the return list is empty. I did a test with the example provided with service and the pb is the same

To Reproduce
Steps to reproduce the behavior:
In terraform:
data "dynatrace_entities" "kubernetes" {
type = "KUBERNETES_CLUSTER"
}
output "kubernetes_List" {
value = data.dynatrace_entities.kubernetes
}

data "dynatrace_entities" "Test" {
type = "SERVICE"
}
output "Service_List" {
value = data.dynatrace_entities.Test
}

Expected behavior
Get info in kubernetes_List and Service_List

Screenshots
Service_List = {
"entities" = tolist(null) /* of object /
"id" = "v2:environment:entities-SERVICE"
"type" = "SERVICE"
}
kubernetes_List = {
"entities" = tolist(null) /
of object */
"id" = "v2:environment:entities-KUBERNETES_CLUSTER"
"type" = "KUBERNETES_CLUSTER"
}

@MaudVandevelde MaudVandevelde added the bug Something isn't working label May 31, 2023
@Dynatrace-Reinhard-Pilz
Copy link
Member

Thanks for reporting this issue. We unfortunately don't have automatic tests for Data Sources yet. Otherwise we would have spotted this bug immediately.
We're about to release a new version still today. It will take care of your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants