Unable to upload local .iso with vsphere_content_library_item
#1664
Labels
acknowledged
Status: Issue or Pull Request Acknowledged
area/content-library
Area: Content Library
bug
Type: Bug
community/contribution
Community: Contribution Help Wanted
confirmed
Issue: Confirmed
Milestone
Community Guidelines
Terraform
v1.2.1
Terraform Provider
v2.1.1
VMware vSphere
v.7.0.3
Description
Provided does not upload content library items when
file_url
points to a local path because it tries to parse the iso as a OVF file. The same iso file passed withfile_url
containing an HTTP url is uploaded correctly.Affected Resources
resource/vsphere_content_library_item
Terraform Configuration
Debug Output
Panic Output
No response
Expected Behavior
The local iso should be uploaded to content library.
Actual Behavior
The provider tries to parse the iso as a OVF file when you use a local path in
file_url
. The same iso file passed withfile_url
containing an HTTP url is uploaded correctly.Steps to Reproduce
Apply the code snippet provided previosly.
Environment Details
No response
Screenshots
No response
References
No response
The text was updated successfully, but these errors were encountered: