civo/terraform-provider-civo

[BUG] ssh-key id keeps updating on every apply for civo_instance

Closed this issue · 0 comments

Description

Issue

Apply this:

terraform {
  required_providers {
    civo = {
      source = "civo/civo"
      version = "1.0.44"

    }
  }
}


resource "civo_instance" "foo" {
    hostname = "blah"
    tags = ["python", "nginx"]
    notes = "He perepepppppepepe "
    size = "g3.xsmall"
    sshkey_id = "fee-2234-sdfsd323-affdsf-sdf768sdf67" # update this with your ssh key id
    # disk_image = element(data.civo_disk_image.debian.diskimages, 0).id
    disk_image = "debian-10"
}

Then apply again, the sshkey_id will continuously want to update itself, no matter how many times you do it.

Screenshots

No response

Additional information

No response