Giter VIP home page Giter VIP logo

Comments (3)

andrewsomething avatar andrewsomething commented on July 26, 2024

Thanks for the report. There seem to be a few things to untangle here:

  • image - Could someone experiencing this provide any more information? I've been unable to reproduce this myself.

  • resize_disk - This is a non-API attribute, so we should set this to the default value locally. I've addressed this in #95

  • ssh_keys - The path forward here is a bit less clear, and I'd love to hear how others would expect this to behave. The DigitalOcean API does not return the SSH keys initially added to the Droplet at create time as part of the Droplet resource nor can SSH keys be added to or removed from an existing Droplet via the DigitalOcean API. My initial feeling is that this should be documented as a known limitation. For an imported Droplet, we can not know if SSH keys have been added or removed manually. If the SSH keys must be managed via Terraform, a new resource will need to be created. If not, then the ssh_keys attribute should be excluded in the tf config file. Any other opinions?

from terraform-provider-digitalocean.

chdsbd avatar chdsbd commented on July 26, 2024

I had a similar issue with image and solved it by setting image = "".

I agree with your conclusion about ssh_keys. Documentation seems like the best solution.

from terraform-provider-digitalocean.

mzupan avatar mzupan commented on July 26, 2024

turns out Digital Ocean doesn't return those in a API call so this isn't a provider issue

from terraform-provider-digitalocean.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.