Revert "providers/digitalocean: don't save status and locked"
This reverts commit b9414b832c1354e4625bc256074ff052e519f58b.
This commit is contained in:
parent
c97e21ba78
commit
aa07f9c1fd
|
@ -248,7 +248,9 @@ func resource_digitalocean_droplet_diff(
|
|||
"ipv4_address",
|
||||
"ipv6",
|
||||
"ipv6_address",
|
||||
"locked",
|
||||
"private_networking",
|
||||
"status",
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -274,8 +276,10 @@ 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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue