terraform-provider-vultr
terraform-provider-vultr copied to clipboard
Add support for plan changes
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