Does sam sync supports requirements.txt? #6022
Labels
area/sync
sam sync command
blocked/more-info-needed
More info is needed from the requester. If no response in 14 days, it will become stale.
I'm trying to use requirements.txt to handle the dependencies for my lambda, i build and deploy without any issues. But during the development I try to use sam sync and I get this error:
`
...
File "shutil.py", line 435, in copy2
File "shutil.py", line 264, in copyfile
FileNotFoundError: [Errno 2] No such file or directory:
'C:\Users\Admin\Documents\Development\Python\akiastockaws\.aws-sam\auto-dependency-layer\PedidosAppsyncSubscripcionesFunctionAp
p\PedidosAppsyncSubscripcionesFunctionAppActualizaa53246c8DepLayer\python\botocore\data\accessanalyzer\2019-11-01\endpoint-rule-s
et-1.json.gz'`
I'm not sure if it is a sam sync limitation/feature not implemented or it is a bug.
SAM version:
SAM CLI, version 1.97.0
Command:
sam sync --stack-name generico2022-app --region us-east-2 --profile generic-dev --watch
and,
sam sync --stack-name generico2022-app --region us-east-2 --profile generic-dev --watch --dependency-layer
Running on Windows
The text was updated successfully, but these errors were encountered: