Using a managed identity for auth is supported an Azure VMs.
It would be very valuable if Container Instances would be supported too. As Container Instances are more lightweight, and designed for one-time build tasks, they are actually a better platform for building packer images than VMs.
Use Case(s)
Run an Azure Container Instance with a managed id, and execute a packer build to create an image
Description
Using a managed identity for auth is supported an Azure VMs. It would be very valuable if Container Instances would be supported too. As Container Instances are more lightweight, and designed for one-time build tasks, they are actually a better platform for building packer images than VMs.
Use Case(s)
Run an Azure Container Instance with a managed id, and execute a packer build to create an image
Potential configuration
Same as for VMs (as described in docs).