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

Support direct network attachment #3

Merged
merged 4 commits into from
Oct 1, 2023

Conversation

zoro16
Copy link
Owner

@zoro16 zoro16 commented Oct 1, 2023

This allows attaching a server resource to a network (private) on creation. This will allow to set a specific private IP address to the server along with optional list of alias_ips.

resource "hcloud_server" "server" {
  ...
  network {
    network_id = var.private_network_id
    ip         = var.private_network_ip
    alias_ips  = var.private_network_alias_ips
  }
}

@zoro16 zoro16 added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 1, 2023
@zoro16 zoro16 merged commit 377fd08 into main Oct 1, 2023
1 check passed
@zoro16
Copy link
Owner Author

zoro16 commented Oct 1, 2023

This PR is included in version 1.1.0 🎉

@zoro16 zoro16 deleted the feature/support-direct-network-attachment branch October 1, 2023 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant