You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating an instance with private_networking = false appears to have the private networking enabled anyway,
both in reality and in the terraform show output.
I'm sorta new to Terraform, so if this is somehow a user mistake (or my mistake), my apologies.
Affected Resource(s)
digitalocean_droplet
Expected Behavior
I would think the output of terraform show|grep priv would show that private networking would be false, not true, given the apply preview and the .tf file show private_networking = false.
Actual Behavior
terraform show indicates that private networking was enabled.
Thanks for reaching out. The private_networking has been marked deprecated and vpc_uuid should be used instead to specify a VPC network for the Droplet. This has been stated here, but I can see how that documentation is not obvious to check for, so I will update the API docs and mark the attribute as deprecated in the schema definition. Thanks for bringing this to our attention.
Describe the bug
Creating an instance with
private_networking = false
appears to have the private networking enabled anyway,both in reality and in the
terraform show
output.I'm sorta new to Terraform, so if this is somehow a user mistake (or my mistake), my apologies.
Affected Resource(s)
Expected Behavior
I would think the output of
terraform show|grep priv
would show that private networking would be false, not true, given the apply preview and the .tf file show private_networking = false.Actual Behavior
terraform show
indicates that private networking was enabled.Steps to Reproduce
terraform init
terraform apply -var "do_token=$DIGITALOCEAN_ACCESS_TOKEN" -var "pvt_key=$HOME/.ssh/id_rsa" -auto-approve
Full log at gist link, with .tf files.
Terraform Configuration Files
https://gist.github.com/cameronelliott/9ef23e442572891937b0ed1c0c843f3f
Terraform version
Captured log Output
https://gist.github.com/cameronelliott/9ef23e442572891937b0ed1c0c843f3f
The text was updated successfully, but these errors were encountered: