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

Add support for plan changes

Open j-melling opened this issue 5 years ago • 0 comments

I can see that this provider can handle O/S and application changes. Consulting the Vultr API it looks like there is an ability to change plans via /v1/server/upgrade_plan which would be helpful via terraform if you've underestimated capacity requirements, particularly over time when an application's requirements increase due to load.

I have tested changing plan manually via Vultr and then updating my tf to the new plan and validating via terraform, and it reports no changes are required. This means I can at least handle this situation manually if I'm careful.

Note: shrinking to a lower plan isn't possible, so the implementation will need to account for that by consulting /v1/server/upgrade_plan_list

j-melling avatar Feb 07 '19 12:02 j-melling