Skip to content

Commit

Permalink
adding doc per #676 (#677)
Browse files Browse the repository at this point in the history
editing documentation to include private_networking has been deprecated.
  • Loading branch information
danaelhe committed Aug 26, 2021
1 parent cb775c1 commit b18890c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 4 additions & 3 deletions digitalocean/resource_digitalocean_droplet.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ func resourceDigitalOceanDroplet() *schema.Resource {
},

"private_networking": {
Type: schema.TypeBool,
Optional: true,
Computed: true,
Type: schema.TypeBool,
Optional: true,
Computed: true,
Deprecated: "This parameter has been deprecated. Use `vpc_uuid` instead to specify a VPC network for the Droplet. If no `vpc_uuid` is provided, the Droplet will be placed in your account's default VPC for the region.",
},

"ipv4_address": {
Expand Down
7 changes: 3 additions & 4 deletions docs/resources/droplet.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ The following arguments are supported:
Defaults to false.
* `ipv6` - (Optional) Boolean controlling if IPv6 is enabled. Defaults to false.
* `vpc_uuid` - (Optional) The ID of the VPC where the Droplet will be located.
* `private_networking` - (Optional) Boolean controlling if private networking
is enabled. When VPC is enabled on an account, this will provision the
Droplet inside of your account's default VPC for the region. Use the
`vpc_uuid` attribute to specify a different VPC.
* `private_networking` - (Optional) **Deprecated** Boolean controlling if private networking
is enabled. This parameter has been deprecated. Use `vpc_uuid` instead to specify a VPC network for the Droplet. If no `vpc_uuid` is provided, the Droplet will be placed in your account's default VPC for the region.

* `ssh_keys` - (Optional) A list of SSH key IDs or fingerprints to enable in
the format `[12345, 123456]`. To retrieve this info, use the
[DigitalOcean API](https://docs.digitalocean.com/reference/api/api-reference/#tag/SSH-Keys)
Expand Down

0 comments on commit b18890c

Please sign in to comment.