Closed ekle closed 7 years ago
@ekle Currently server resource has ram
, cores_per_processor
, vcores
and image
as required fields. If FixedInstances
are added we'd need to do those checks. Also when it comes to update, like you said many edge cases would arise. But definitely it would be a good idea to add support for it. But if you already have done some work please submit your PR and we can work on it together.
About increasing the memory there is a slight problem.
When server is shut down and hardware update is performed (increasing RAM) we are not able to track server state since it is already POWERED_OFF
. So we would not know how long to wait until the change is accepted and the server is ready to be POWERED_ON
.
@jasminSPC here: https://github.com/terraform-providers/terraform-provider-oneandone/pull/5 it is based on your fork at the moment.
@ekle thanks I'm looking at it.
Fixed with #5
I started to add it myself (https://github.com/alfatraining/terraform-provider-oneandone), but there are many edge cases, i don't know how to handle, like:
FixedInstances costs around the half than flexible servers. in most cases its cheaper to use a faster model of them, than using a individual sized server.