Skip to content

[Bug]: data.hcloud_load_balancer has null service even though there are services #1136

Open
@Preisschild

Description

@Preisschild

What happened?

When I use the hcloud_load_balancer datasource the service list is set to null even though there are two services (shown on web interface & hcloud cli).

The other properties (like target) are set properly.

What did you expect to happen?

To see the two Load Balancer services in data.hcloud_load_balancer.<name>.service

Please provide a minimal working example

data "hcloud_load_balancer" "lb" {
  name = "myloadbalancer"
}

output "hcloud_load_balancer" {
  value = data.hcloud_load_balancer.lb
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions