terraform-provider-softlayer icon indicating copy to clipboard operation
terraform-provider-softlayer copied to clipboard

Able to query status for a deployed VM

Open linsun opened this issue 9 years ago • 0 comments

Some discussion on slack for this request. Lin Sun [12:24 PM] @here is there a good way to check status of vm from terraform? (the vm is deployed using terraform apply)

Renier Morales [12:25 PM] other than existence in the list of known devices, no

[12:26]
in the future, you'll be able to add power state of the resource in to the mix, but it will depend on what you mean with status, too

Lin Sun [12:26 PM] thanks for the quick reply Renier. I was mainly refer to VM status (active/running, stopped, deploying, etc)

Renier Morales [12:27 PM] so a combination between power state and active transactions

Lin Sun [12:27 PM] is there an issue for this tracked already?

[12:27]
yes, reaching active is our first priority as we want to check if the machine is provisioned and running

Renier Morales [12:28 PM] no, the power state part has to wait for terraform to enable it in the life cycle of the resource

[12:28]
about active transactions, it could be added as a read-only attribute of the resource

[12:28]
no issue for that

[12:29]
I guess power state could also be a read-only attribute as well

linsun avatar Feb 20 '17 19:02 linsun