Getting Started with Packer and Terraform on Azure!

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии •

  • @marsamuk
    @marsamuk Год назад +2

    How will this work with Azure DevOps? Can we automate all using a pipeline? Trying to understand how the workflow will look like when using terraform and packer with Azure DevOps. Thanks

    • @azure-terraformer
      @azure-terraformer  Год назад +4

      Great question! I cover these scenarios a lot on my channel. Here are a couple episodes you should check out next!
      In Episode 13, I show how to create a Terraform pipeline in Azure DevOps. ruclips.net/video/wv81bhcGcMw/видео.html
      In Episode 14, I show how to create a Packer build pipeline in Azure DevOps. ruclips.net/video/v1VjhwQ4KCQ/видео.html
      In the Minecraft series (Episodes 16 - 24) I show how to combine Packer and Terraform together using Azure DevOps to automate both Packer to build images and Terraform to provision an environment in Azure referencing those images. ruclips.net/p/PLsOrrjBMkLaRXWri2EvqLAUKWJI7TH0kH

  • @mloskot
    @mloskot Год назад +1

    Cheers! The source code link points to the /008 and not /009 folder

    • @azure-terraformer
      @azure-terraformer  Год назад +1

      Thanks for the help! I’ve updated the link. Appreciate it!

  • @mloskot
    @mloskot Год назад +1

    Hi again, lately I've been thinking of how to share configuration between Terraform and Packer. For example, I create Azure Compute Gallery (aka SIG) using Terraform code which I parametrise with resource group, gallery name, names of images (definitions). Then, I use Packer to build and publish particular VM image version. Obviously, Packer needs to know the names of resource group, gallery, image (i.e. parameters of shared_image_gallery_destination). I wonder, do you have any solution to share those or read those from Terraform outputs dynamically?

  • @NamronYoutube
    @NamronYoutube 11 месяцев назад +1

    Hey @azure-terraformer I'm trying to follow along this great video you provided. When I let packer create the windows image I get an error because Chocolatey also installs .NET Framework 4.8 , but a reboot is required which can't be performed. How would you mitigate such a behavior in a real life scenario? The rest seems to be working. I'm big fan of your work and the effort you put in.

    • @azure-terraformer
      @azure-terraformer  11 месяцев назад

      Thanks so much for the kind words! Packer does have an action that allows you to reboot the machine. But it is pretty tricky working with it!

    • @NamronYoutube
      @NamronYoutube 11 месяцев назад +1

      @@azure-terraformer okay maybe I find something in the documentation about it. My new years resolution was to do more with terraform this year, so I’m working through your content and time flies by…

    • @azure-terraformer
      @azure-terraformer  11 месяцев назад

      Happy Terraforming!