Granting user manged identity to packer machine and using it

I want to give user managed identity to the packer build virtual machine which is being created in the backend. is it possible if yes how?

Yes, it is possible to assign a User Managed Identity to a Packer build VM in Azure. You’ll need to use the Azure ARM builder in your Packer template and specify the user_assigned_identity_id with the identity’s resource ID. Ensure your Packer version is up to date to support this feature.

1 Like

Old post but I tried this suggestion and it is not working, is this still possible?

Where is this feature documented?

or you mean this?

user_assigned_managed_identities - A list of one or more fully-qualified resource IDs of user assigned managed identities to be configured on the VM