Skip to content

Commit

Permalink
fix(server): Workaround for provider keeps trying to remove and re-as…
Browse files Browse the repository at this point in the history
…sign private networks

Refs: hetznercloud/terraform-provider-hcloud#650
  • Loading branch information
mrclrchtr committed Jun 3, 2024
1 parent 7879149 commit db9544f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ resource "hcloud_server" "control_planes" {
network {
network_id = hcloud_network_subnet.nodes.network_id
ip = each.value.ipv4_private
alias_ips = [] # fix for https://github.com/hetznercloud/terraform-provider-hcloud/issues/650
}

depends_on = [
Expand Down Expand Up @@ -120,6 +121,7 @@ resource "hcloud_server" "workers" {
network {
network_id = hcloud_network_subnet.nodes.network_id
ip = each.value.ipv4_private
alias_ips = [] # fix for https://github.com/hetznercloud/terraform-provider-hcloud/issues/650
}

depends_on = [
Expand Down

0 comments on commit db9544f

Please sign in to comment.