When you deploy an ARM template with Terraform all Terraform knows about is the template at the top level, it has no idea what is in the template. The main reason for this is that by running ARM templates in a Terraform configuration, you lose a lot of the benefits of Terraform, especially around the state file. Doing what we discuss in this article should only be a last resort when nothing else will work. Don’t Do This If You Can Avoid It!īefore we dive into this, a warning, if you can avoid running ARM templates in Terraform then do so. Terraform does, however, have the ability to run ARM templates directly, let’s look at why you might want to do that and how it works. For most people deploying to Azure using “Infrastructure as Code” you would use either Terraform or ARM Templates, not both. If the title seems like a bit of an oxymoron, bear with me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |