Function app zipdeploy command fails due to invalid sas uri
Open
act-observability-squad
Functions
Service Attention
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
'az functionapp deployment source config-zip' command generates a sas uri, uploads app content and updates the WEBSITE_RUN_FROM_PACKAGE appsetting with the newly generated uri.
The generated sas uri is not based on UTC, so it is possible the sas uri might not be valid for a few hours depending on the region where the sas uri is generated.
https://github.com/Azure/azure-cli/blob/ddeaff14e255669d535f135f46e3009a10d49ad2/src/azure-cli/azure/cli/command_modules/appservice/custom.py#L558
Looks like the datetime logic needs to use tzinfo class to set the timezone.
Contributor guide
Assessment
This issue has not been assessed yet.