provider/digitalocean: Support ConnInfo for provisioning
This commit is contained in:
parent
67bc9f51ae
commit
a6e536c718
|
@ -81,6 +81,10 @@ func resource_digitalocean_droplet_create(
|
||||||
|
|
||||||
droplet := dropletRaw.(*digitalocean.Droplet)
|
droplet := dropletRaw.(*digitalocean.Droplet)
|
||||||
|
|
||||||
|
// Initialize the connection info
|
||||||
|
rs.ConnInfo["type"] = "ssh"
|
||||||
|
rs.ConnInfo["host"] = droplet.IPV4Address()
|
||||||
|
|
||||||
return resource_digitalocean_droplet_update_state(rs, droplet)
|
return resource_digitalocean_droplet_update_state(rs, droplet)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue