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

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

Closed
fernando-villalba opened this issue Jun 18, 2024 · 0 comments · Fixed by #226
Closed

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

fernando-villalba opened this issue Jun 18, 2024 · 0 comments · Fixed by #226
Labels
bug Something isn't working

Comments

@fernando-villalba
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant