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
If a virtual_network_name value is assigned with multiple subnets associated with that vnet, then an error is correctly returned. If additionally the specific virtual_network_subnet_name value is assigned, then the same error is incorrectly returned. The error is no longer returned when the virtual_network_resource_group_name is assigned a value, which should not occur because the subnet is explicitly specified, and the error string even states that the resource group is correctly determined. I am unsure what is triggering the false positive on the error return, but adding an extraneous parameter with the same value that the plugin states it is correctly determining prevents the false positive error return.
Reproduction Steps
Assign values for virtual_network_name and virtual_network_subnet_name, but not virtual_network_resource_group_name. packer build <dir>
Plugin and Packer version
Packer 1.10.3
Plugin 2.1.6
Simplified Packer Buildfile
See reproduction steps section.
Operating system and Environment details
N/A
Log Fragments and crash.log files
See Overview section.
The text was updated successfully, but these errors were encountered:
Overview of the Issue
AzureRM Builder plugin package
If a
virtual_network_name
value is assigned with multiple subnets associated with that vnet, then an error is correctly returned. If additionally the specificvirtual_network_subnet_name
value is assigned, then the same error is incorrectly returned. The error is no longer returned when thevirtual_network_resource_group_name
is assigned a value, which should not occur because the subnet is explicitly specified, and the error string even states that the resource group is correctly determined. I am unsure what is triggering the false positive on the error return, but adding an extraneous parameter with the same value that the plugin states it is correctly determining prevents the false positive error return.Reproduction Steps
Assign values for
virtual_network_name
andvirtual_network_subnet_name
, but notvirtual_network_resource_group_name
.packer build <dir>
Plugin and Packer version
Packer 1.10.3
Plugin 2.1.6
Simplified Packer Buildfile
See reproduction steps section.
Operating system and Environment details
N/A
Log Fragments and crash.log files
See Overview section.
The text was updated successfully, but these errors were encountered: