civo/terraform-provider-civo

[BUG] Updating private_ipv4 after instance creation does nothing

Closed this issue · 0 comments

Issue

Updating the private_ipv4 after instance creation does nothing. It updates the state but nothing actually changes

Use this code to reproduce:

resource "civo_instance" "foo" {
    hostname = "amazingthingy5"
    tags = ["python", "nginx"]
    notes = "This is a test-issue"
    size = "g3.xsmall"
    region = "LON1"
    # private_ipv4 = "192.168.1.73/32" # Uncomment this after creation
    firewall_id = "default-default"
    disk_image = "debian-10"
}

Acceptance Criteria

  • Prompt for an instance replacement if private_ipv4 changes, or if possible, update the private_ipv4 field