From b9414b832c1354e4625bc256074ff052e519f58b Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Thu, 24 Jul 2014 23:32:42 -0400 Subject: [PATCH] providers/digitalocean: don't save status and locked --- .../providers/digitalocean/resource_digitalocean_droplet.go | 4 ---- website/source/docs/providers/do/r/droplet.html.markdown | 2 -- 2 files changed, 6 deletions(-) diff --git a/builtin/providers/digitalocean/resource_digitalocean_droplet.go b/builtin/providers/digitalocean/resource_digitalocean_droplet.go index 36391f6d3..656887b16 100644 --- a/builtin/providers/digitalocean/resource_digitalocean_droplet.go +++ b/builtin/providers/digitalocean/resource_digitalocean_droplet.go @@ -248,9 +248,7 @@ func resource_digitalocean_droplet_diff( "ipv4_address", "ipv6", "ipv6_address", - "locked", "private_networking", - "status", }, } @@ -276,10 +274,8 @@ func resource_digitalocean_droplet_update_state( } s.Attributes["ipv4_address"] = droplet.IPV4Address() - s.Attributes["locked"] = droplet.IsLocked() s.Attributes["private_networking"] = droplet.NetworkingType() s.Attributes["size"] = droplet.SizeSlug() - s.Attributes["status"] = droplet.Status return s, nil } diff --git a/website/source/docs/providers/do/r/droplet.html.markdown b/website/source/docs/providers/do/r/droplet.html.markdown index 6a913d71e..1fda12fae 100644 --- a/website/source/docs/providers/do/r/droplet.html.markdown +++ b/website/source/docs/providers/do/r/droplet.html.markdown @@ -46,8 +46,6 @@ The following attributes are exported: * `ipv6` - Is IPv6 enabled * `ipv6_address` - The IPv6 address * `ipv4_address` - The IPv4 address -* `locked` - Is the Droplet locked * `private_networking` - Is private networking enabled * `size` - The instance size -* `status` - The status of the droplet