Is it possible to compile a Terraform script into an ARM template?
I assume this should be somehow possible, since I think Terraform is internally doing exactly this, when deploying IaaS to Azure.
You can export the ARM templates from Azure portal after deploying resources with Terraform.
I don't know if a tool exists to do this more elegantly.