• rs5th@lemmy.scottlabs.io
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      You like deploying infrastructure, probably in a cloud environment, but you don’t want to push a bunch of buttons in their web interface, so you use Terraform to declaratively define the things you want, and it goes and builds them for you. Super useful for when you need to build resources often, to detect and correct config drift, and get started down the path of Infrastructure as Code.

      • azerial@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Yeah it works super well if you have a base config across all nodes then you want to create per project configs and spin them off your build system.

    • conciselyverbose@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I don’t use it or cloud stuff.

      But it looks like it’s a tool to make it easier to manage how you put all the different pieces of cloud hosting together.

    • falsem@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Infrastructure as Code

      In the past you would stand up and hand-configure all of the hardware that would run your software. This is a way to define the hardware configuration in software and apply it automatically. Advantages of this approach include increased scalability, reproducibility, and being able to use version control.

      • MasterBuilder@lemmy.one
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Plus, it is idempotent, which means you don’t have to change it before pushing it to an existing infrastructure. If you do change it, the infrastructure will be updated to match. It ends the need for custom deployment scripts.

    • loafofbread@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      There’s plenty of responses which are probably more thorough than I am, however, as I understand it as a PM dealing with cloud migrations:

      Terraform is scripts of code which automates the deployment cloud platforms, applications, services so that you don’t need to manually set up and configure everything each time.