Choose Billing period with terraform

Hello community,

I'm using Terraform to create instances with openstack provider but I'd like to know if it is possible to set the billing period as 'monthly' because by default it is set to 'hourly'

thank you

Jeremy

Hello @JeremyH11

Not with terraform.
Only with OVH API.

The billing is managed by OVH and not Openstack.

Jalinn

Could you tell us which API endpoint exactly could be used for that usage ?

Replying to myself :
POST /cloud/project/{serviceName}/activateMonthlyBilling BetaActivate monthly billing on multiple instances
POST /cloud/project/{serviceName}/instance/{instanceId}/activeMonthlyBilling