ARM Templates vs Terraform in Azure

cloudguy2020 76 Reputation points
2020-08-05T19:04:42.003+00:00

Hi,

Please let me know the differences between ARM Templates vs Terraform in Azure?

Thanks

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,931 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Sam Cogan 10,812 Reputation points Microsoft Employee Volunteer Moderator
    2020-08-05T19:23:49.367+00:00

    ARM templates and Terraform are both Infrastructure as Code tools for deploying cloud resources. A very high level summary of the differences is below

    ARM Templates

    • Azure specific
    • Get the latest Azure resources as they are released
    • Does not maintain a state file
    • Written in JSON
    • Does not have a Destroy/Cleanup command

    Terraform

    • Supports multiple cloud providers and on-prem resources
    • Can lag behind when new Azure resources are released
    • Relies on a state file that must be maintained
    • Written in HCL, a custom DSL from Hashicorp
    • Able to cleanup/destroy resources

    Both tools can be used to create resources in Azure, they both have positives and negatives compared to each other.

    6 people found this answer helpful.

  2. cloudguy2020 76 Reputation points
    2020-08-05T19:31:10.007+00:00

    Thank you Sam. Can you please confirm all the below belongs to the same category - Infrastructure as Code(IAC)

    ARM Templates
    Terraform
    Chef
    Puppet
    Ansible
    SaltStack
    CloudFormation


  3. Grmacjon-MSFT 19,151 Reputation points Moderator
    2020-08-06T00:32:54.127+00:00

    Hi @haris khan ,

    Yes, the list of tools you shared is considered Infrastructure as Code(IAC) tools.

    -Grace

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.