Azure wants your experience using Terraform with Azure to be delightful, so they have released a couple of open-source tools: a) Azure Terrafy (aztfy) to be able to import existing infrastructure in Terraform; b) AzAPI Terraform Provider to allow you to deploy any Azure resource.