Home > OS >  What features in Azure services cannot be scripted in Terraform or require embedding ARM in Terrafor
What features in Azure services cannot be scripted in Terraform or require embedding ARM in Terrafor

Time:01-08

When working with Terraform, what features of Azure services are there that cannot be scripted in Terraform or require embedding ARM?

CodePudding user response:

Currently, there is no resource to create Data Sync Group in Azure using Terraform

An ARM template configures the Azure PaaS resources to send their diagnostic data to Log Analytics. There is no functionality for this in Terraform when used with Azure

There is a zone to zone disaster recovery for Azure VM but terraform only provides single instance and target availability set in the azure site recovery

Almost all the new features added in Azure cannot be created using Terraform

CodePudding user response:

The landscape for both Azure and Terraform is constantly changing, so it would not make much sense to list what is supported/not supported in a Stack Overflow context.

I have been working with Terraform in Azure for more than 5 years, and the AzureRM provider is being updated almost on a biweekly basis. In general, it is very much up to date - not only with new resources and data sources that are being added constantly but also updates on existing components functionality and when the Azure API changes. This provider rocks!

Take a look at the changelog here to get an overview of the intense activity on the AzureRM provider: https://github.com/hashicorp/terraform-provider-azurerm/blob/main/CHANGELOG.md

I believe that instead of asking what is not supported, take a look at the landscape you want to create, and see if the components exist in the documentation, which is very good IMO. I think that the latest AzureRM provider (2.91.0) has around 950 resources and data sources.

Documentation: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs

Usually, when something does not exist there will be an issue in the Github repo. E.g. to follow the example that @RamaroAdapa-MT mentions, you can find the issue here (by a simple Google search): https://github.com/hashicorp/terraform-provider-azurerm/issues/6425

Looking through that, you can see the the reason is actually not a Terraform AzureRM provider issue, but lack of support in the Azure API:

https://github.com/Azure/azure-rest-api-specs/issues/11061

  •  Tags:  
  • Related