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 filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
Overview of the Issue
zone is missing from subnetwork request when passing all arguments.
'resource.networkInterfaces[0].subnetwork': 'projects/PROIJECT_ID/regions//subnetworks/MY_SUB_NETWORK'
Plugin and Packer version
latest
Simplified Packer Buildfile
"post-processors": [
{
"type": "googlecompute-export",
"paths": ["gs://vlad-packer-test/{{user `image_version`}}.tar.gz"],
"keep_input_artifact": true,
"project_id": "{{user `project_id`}}",
"zone": "{{ user `zone` }}",
"network": "{{ user `network` }}",
"subnetwork": "{{ user `subnetwork` }}",
"machine_type": "{{ user `machine_type` }}",
"service_account_email": "{{ user `service_account_email` }}"
}
]
Operating system and Environment details
ubuntu 2004
Log Fragments and crash.log files
==> googlecompute: Running post-processor: googlecompute-export
==> googlecompute (googlecompute-export): Exporting image vlad-testing-v20240805 to destination: [gs://vlad-packer-test/20240805.tar.gz]
==> googlecompute (googlecompute-export): Creating temporary RSA SSH key for instance...
==> googlecompute (googlecompute-export): Using image: debian-9-worker-v20200616
==> googlecompute (googlecompute-export): Creating instance...
googlecompute (googlecompute-export): Loading zone: us-central1-c
googlecompute (googlecompute-export): Loading machine type: n1-standard-1
googlecompute (googlecompute-export): Requesting instance creation...
==> googlecompute (googlecompute-export): Error creating instance: googleapi: Error 400: Invalid value for field 'resource.networkInterfaces[0].subnetwork': 'projects/PROJECT_ID/regions//subnetworks/MY_SUB_NETOWRK'. The URL is malformed., invalid
The text was updated successfully, but these errors were encountered:
When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
Overview of the Issue
zone is missing from subnetwork request when passing all arguments.
'resource.networkInterfaces[0].subnetwork': 'projects/PROIJECT_ID/regions//subnetworks/MY_SUB_NETWORK'
Plugin and Packer version
latest
Simplified Packer Buildfile
]
Operating system and Environment details
ubuntu 2004
Log Fragments and crash.log files
==> googlecompute: Running post-processor: googlecompute-export
==> googlecompute (googlecompute-export): Exporting image vlad-testing-v20240805 to destination: [gs://vlad-packer-test/20240805.tar.gz]
==> googlecompute (googlecompute-export): Creating temporary RSA SSH key for instance...
==> googlecompute (googlecompute-export): Using image: debian-9-worker-v20200616
==> googlecompute (googlecompute-export): Creating instance...
googlecompute (googlecompute-export): Loading zone: us-central1-c
googlecompute (googlecompute-export): Loading machine type: n1-standard-1
googlecompute (googlecompute-export): Requesting instance creation...
==> googlecompute (googlecompute-export): Error creating instance: googleapi: Error 400: Invalid value for field 'resource.networkInterfaces[0].subnetwork': 'projects/PROJECT_ID/regions//subnetworks/MY_SUB_NETOWRK'. The URL is malformed., invalid
The text was updated successfully, but these errors were encountered: