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
Description:
After successfully deploying the initial version of my Java-based Azure Function app, I encountered difficulties updating its deployment with azureFunctionsDeploy. Each attempt resulted in a "BlobAlreadyExists" error. I am using the latest available version of this plugin (v1.15.0).
Details:
Despite ensuring that I increase the version of the JAR file generated with every gradle build, it appears that the azureFunctionsPackage task consistently creates the file with the same name. Consequently, when I execute azureFunctionsDeploy for subsequent deployments, I repeatedly encounter the following error:
com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException:` Status code 409... BlobAlreadyExists ...
Workaround:
To mitigate this issue, I have resorted to manually deleting the blob from the java-functions-run-from-packages container before executing azureFunctionsDeploy. However, I have been unable to locate any setting within the plugin configuration that allows overwriting existing blobs.
Request for Guidance:
Could you please provide guidance on whether I am overlooking any configuration setting or best practice that would enable the plugin to overwrite existing blobs during deployment?
The text was updated successfully, but these errors were encountered:
Reverting to v1.11.0 resolved the issue though. But please let me know if it's a bug in the upgraded version or if there's some other way to allow blob overwrite.
@varenyavv Azure functions gradle plugin v1.16.0 has been released, which fixes this issue, could you please upgrade to the latest version and try again? Thanks again for your help!
Description:
After successfully deploying the initial version of my Java-based Azure Function app, I encountered difficulties updating its deployment with
azureFunctionsDeploy
. Each attempt resulted in a "BlobAlreadyExists" error. I am using the latest available version of this plugin (v1.15.0).Details:
Despite ensuring that I increase the version of the JAR file generated with every gradle build, it appears that the
azureFunctionsPackage
task consistently creates the file with the same name. Consequently, when I executeazureFunctionsDeploy
for subsequent deployments, I repeatedly encounter the following error:Workaround:
To mitigate this issue, I have resorted to manually deleting the blob from the
java-functions-run-from-packages
container before executingazureFunctionsDeploy
. However, I have been unable to locate any setting within the plugin configuration that allows overwriting existing blobs.Request for Guidance:
Could you please provide guidance on whether I am overlooking any configuration setting or best practice that would enable the plugin to overwrite existing blobs during deployment?
The text was updated successfully, but these errors were encountered: