NikolaLohinski / terraform-provider-freebox

🔌 A terraform provider to interact with a famous French ISP box
https://nikolalohinski.github.io/terraform-provider-freebox
2 stars 2 forks source link

Feature request: Expected VM status #4

Open holyhope opened 1 day ago

holyhope commented 1 day ago

Hello,

If I am not wrong, the provider keep the VM state as it is. I would like to be able to specify the state of the machine (running/stopped) and let the provider start/stop the vm if needed.

This basically means we could make the status field writable.

What do you think?

NikolaLohinski commented 2 hours ago

Hi @holyhope

Indeed that was the plan all along. It requires a bit more implementation and tests to make sure it bahaves as expected in all cases, but should be pretty straightforward.

Happy to take a PR if you feel like giving it a try. I pretty busy right now with newborns so please don't expect any major adds until for a few months.

Cheers