hashicorp / hashicorp/setup-packer
Packer validate and build failing when using "build_resource_group_name"
- Dominant language
- HCL
- Stars
- 165
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Description
I am facing an issue with "setup-packer" when using "build_resource_group_name" in the packer configuration file.
The gitHub action pipeline fails with the error "**Specify either a location to create the resource group in or an existing build_resource_group_name, but not both**"
It will fail when location and build_resource_group_name parameters are used together, but my config doesn't have both parameters together.
1. When both parameters are present - `packer validate` is succeeding, but `packer build` failing with the above-mentioned error.
2. When the `location` parameter is not present and `build_resource_group_name` is present - `packer validate` is failing, it is not allowing my pipeline to move forward.
I tested the same code on my local by installing `packer` directly from Hashicorp website. I'm not facing any issues as mentioned above with that package.
packer version `1.10.2`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.