Closed MislavJaksic closed 1 year ago
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
The module throws an error when packaging Python code that contains UTF-8 characters.
Versions
Reproduction Code [Required]
I'm trying to create a AWS Lambda function with code that contains UTF-8 characters:
When I do
terraform apply
the following error appears:UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 653: character maps to <undefined>
.I've solve it by adding
encoding="utf-8"
toget_build_system_from_pyproject_toml()
inpackage.py
.Expected behavior
terraform apply
doesn't throw an error while packaging the code.Actual behavior
terraform apply
throws an error: