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

[Feature]: Data Source for Server Network #648

Open
kimdre opened this issue Apr 1, 2023 · 1 comment
Open

[Feature]: Data Source for Server Network #648

kimdre opened this issue Apr 1, 2023 · 1 comment

Comments

@kimdre
Copy link

kimdre commented Apr 1, 2023

What whould you like to see?

I would like to be able to retrieve the internal IP addresses of servers that are assigned to a subnet in hcloud_server_network.
Use case: I try to migrate my local bind zones to terraform so I can use my hcloud and hetzner_dns data for it and this feature would come in handy.

Example

Data Source

data "hcloud_server_network" "subnet_1" {
  id = "1234"
}
data "hcloud_server_network" "subnet_2" {
  network_id = "1234"
}
data "hcloud_server_network" "subnet_3" {
  server_id = "1234"
}

Returns

List of server_network (?)

@github-actions
Copy link

This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants