providers/digitalocean: don't save status and locked

This commit is contained in:
Jack Pearkes 2014-07-24 23:32:42 -04:00
parent 37f4e28a4f
commit b9414b832c
2 changed files with 0 additions and 6 deletions

View File

@ -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
}

View File

@ -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