Choose Billing period with terraform
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Choose Billing period with terraform

by
JeremyH11
Created on 2021-04-09 09:39:49 (edited on 2024-09-04 11:11:18) in Public Cloud OVHcloud

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


1 Reply ( Latest reply on 2021-06-02 16:16:46 by
1f4861190f193096065b
)

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