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
### Expected Behavior
The following python code should go through:
```python
import sys
sys.path.insert(1, "/tmp/utilities.zip")
from dsa import test
Actual Behavior
Got below error:
ModuleNotFoundError: No Module named 'dsa'
If unzip the zip file and rezip using 7-zip, or zip the folder using zip -r /tmp/utilities.zip dsa command, the above python code can run without any issues.
Steps to Reproduce
create a folder containing some python file
zip folder with terraform
terraform apply
try to refer and import python file from zip file.
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Terraform CLI and Provider Versions
Terraform 0.14.9
Terraform Configuration
The folder structure of
utilities
:/source/utilities
--dsa/
----test.py
----xxx/
-------abc.py
Actual Behavior
Got below error:
If unzip the zip file and rezip using 7-zip, or zip the folder using
zip -r /tmp/utilities.zip dsa
command, the above python code can run without any issues.Steps to Reproduce
terraform apply
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: