engine: resources: Add hetzner:vm resource
Hetzner cloud resource using hcloud-go. Requires polling via Meta:poll param. This first commit provides a stable vm resource with support for the basic functions of creating, deleting and updating a live server instance. SSH key handling does still require some attention to make sure checkapply can detect and update live changes to the specified keylist. A dedicated hetzner:sshkeys resource might be in order to make sure the keyset is handled correctly if there are multiple hetzner:vm resources running under the same Hetzner project. All remarks for future improvements are indicated with a TODO prefix
This commit is contained in:
committed by
James Shubin
parent
0ab2406db9
commit
b26f842de1
1227
engine/resources/hetzner_vm.go
Normal file
1227
engine/resources/hetzner_vm.go
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user