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 Жыл бұрын
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. kzbin.info/www/bejne/raebYpWemKyWg9k In Episode 14, I show how to create a Packer build pipeline in Azure DevOps. kzbin.info/www/bejne/rGK5m5uthpl-ebM 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. kzbin.info/aero/PLsOrrjBMkLaRXWri2EvqLAUKWJI7TH0kH
@mloskot Жыл бұрын
Cheers! The source code link points to the /008 and not /009 folder
@azure-terraformer Жыл бұрын
Thanks for the help! I’ve updated the link. Appreciate it!
@NamronYoutube10 ай бұрын
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-terraformer10 ай бұрын
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!
@NamronYoutube10 ай бұрын
@@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-terraformer10 ай бұрын
Happy Terraforming!
@mloskot Жыл бұрын
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?
@azure-terraformer Жыл бұрын
Tackling this in an upcoming mailbag video! Sorry for the delay!