Giter VIP home page Giter VIP logo

Comments (3)

andrewsomething avatar andrewsomething commented on July 26, 2024

I am able to reproduce this, and it seems to be true for enabling IPv6 as well.

On a more general note, can a DigitalOcean Droplet even be converted to private networking after it is created ?

Yes, private networking can be enabled on an existing Droplet. It requires a call to /v2/droplets/$DROPLET_ID/actions See: https://developers.digitalocean.com/documentation/v2/#enable-private-networking

Though there are a some important things to note:

from terraform-provider-digitalocean.

sosedoff avatar sosedoff commented on July 26, 2024

Im having the same issue, where terraform apply will crash if i set the private_networking = true. I was able to reproduce the crash multiple times.

Terraform v0.11.7
+ provider.digitalocean v0.1.3

However, after the crash terraform no longer has the droplet resources in its state. So running terraform apply again will actually create a new set of droplets. Here's my example snippet:

provider "digitalocean" {
  token = "${var.token}"
}

resource "digitalocean_ssh_key" "default" {
  name       = "tf_key"
  public_key = "${file("./key.pub")}"
}

resource "digitalocean_droplet" "web" {
  count              = 3
  name               = "web-${count.index}"
  image              = "ubuntu-16-04-x64"
  region             = "nyc3"
  size               = "1gb"
  private_networking = true
}

from terraform-provider-digitalocean.

andrewsomething avatar andrewsomething commented on July 26, 2024

I'm happy to say that yesterday, we release version 1.0.0 of the DigitalOcean Terraform provider. It should include a fix for this issue.

You can find the full changelog here: https://github.com/terraform-providers/terraform-provider-digitalocean/blob/master/CHANGELOG.md#100-september-27-2018

In order to upgrade an existing project to the latest version, run:

terraform init -upgrade

If you believe that this issue is being closed by mistake or the problem has not been resolved, please let me know or feel free to open a new issue with additional details.

Thanks for your patience!

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.