File tree Expand file tree Collapse file tree
builtin/providers/digitalocean
website/source/docs/providers/do/r Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,7 +248,9 @@ func resource_digitalocean_droplet_diff(
248248 "ipv4_address" ,
249249 "ipv6" ,
250250 "ipv6_address" ,
251+ "locked" ,
251252 "private_networking" ,
253+ "status" ,
252254 },
253255 }
254256
@@ -274,8 +276,10 @@ func resource_digitalocean_droplet_update_state(
274276 }
275277
276278 s .Attributes ["ipv4_address" ] = droplet .IPV4Address ()
279+ s .Attributes ["locked" ] = droplet .IsLocked ()
277280 s .Attributes ["private_networking" ] = droplet .NetworkingType ()
278281 s .Attributes ["size" ] = droplet .SizeSlug ()
282+ s .Attributes ["status" ] = droplet .Status
279283
280284 return s , nil
281285}
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ The following attributes are exported:
4646* ` ipv6 ` - Is IPv6 enabled
4747* ` ipv6_address ` - The IPv6 address
4848* ` ipv4_address ` - The IPv4 address
49+ * ` locked ` - Is the Droplet locked
4950* ` private_networking ` - Is private networking enabled
5051* ` size ` - The instance size
52+ * ` status ` - The status of the droplet
5153
You can’t perform that action at this time.
0 commit comments