You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passings Tags as a Hashtable into ./images.CI/linux-and-win/build-image.ps1, packer build fails
Platforms affected
Azure DevOps
GitHub Actions - Standard Runners
GitHub Actions - Larger Runners
Runner images affected
Ubuntu 20.04
Ubuntu 22.04
Ubuntu 24.04
macOS 13
macOS 13 Arm64
macOS 14
macOS 14 Arm64
macOS 15
macOS 15 Arm64
Windows Server 2019
Windows Server 2022
Windows Server 2025
Image version and build link
Not found
Is it regression?
No
Expected behavior
Show Packer Version
Packer v1.10.2
Your version of Packer is out of date! The latest version
is 1.11.2. You can update by downloading from www.packer.io/downloads
Download packer plugins
Validate packer template
Syntax-only check passed. Everything looks okay.
Build ubuntu-22 VM
==> azure-arm.build_image: Running builder ...
Actual behavior
Packer v1.10.2
Your version of Packer is out of date! The latest version
is 1.11.2. You can update by downloading from www.packer.io/downloads
Download packer plugins
Validate packer template
Syntax-only check passed. Everything looks okay.
Build ubuntu-22 VM
Error: Missing attribute separator
on line 1:
(source code not available)
Expected a newline or comma to mark the beginning of the next attribute.
Repro steps
Pass Tags into Build VM Task in the image-generation.yml
Hi @paul-towler, We also use tags for our test builds, but we didn't encounter this issue. And the reason is that our tag values were "true" or "false". However, with any other values, we see the same error. Let us test your solution.
Description
When passings Tags as a Hashtable into ./images.CI/linux-and-win/build-image.ps1, packer build fails
Platforms affected
Runner images affected
Image version and build link
Not found
Is it regression?
No
Expected behavior
Show Packer Version
Packer v1.10.2
Your version of Packer is out of date! The latest version
is 1.11.2. You can update by downloading from www.packer.io/downloads
Download packer plugins
Validate packer template
Syntax-only check passed. Everything looks okay.
Build ubuntu-22 VM
==> azure-arm.build_image: Running builder ...
Actual behavior
Packer v1.10.2
Your version of Packer is out of date! The latest version
is 1.11.2. You can update by downloading from www.packer.io/downloads
Download packer plugins
Validate packer template
Syntax-only check passed. Everything looks okay.
Build ubuntu-22 VM
Error: Missing attribute separator
on line 1:
(source code not available)
Expected a newline or comma to mark the beginning of the next attribute.
Repro steps
Build VM
Task in theimage-generation.yml
To resolve the issue:
to:
var
reference forazure_tags
:To
The text was updated successfully, but these errors were encountered: