Does terraform provide support for Purchase Reserved Capacity and Purchase Reserved Instance in Azure?
This is more of a provider question, so you may get some further information if you post to the Terraform Providers category. However, I don’t believe the AzureRM provider caters for this itself. Instead you will need to use the AzAPI provider to interact directly with the AzureRM API.
Check the documentation here, which also provides Terraform examples for each of the relevant resource types:
Microsoft.Capacity/reservationOrders - Bicep, ARM template & Terraform AzAPI reference | Microsoft Learn
Hope that helps.
Happy Terraforming
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.