Skip to content

Azure Functions deploy error if resource group name is not unique #242

Closed
@pragnagopa

Description

@pragnagopa

Plugin name and version

azure-functions-maven 1.0.0-beta-2

Plugin configuration in your pom.xml

if deafult value is used for functionResourceGroup deploy fails with wrong error

java-functions-group

Expected behavior

Error should indicate a unique name must be used for resource group. Also, Archetype needs to be updated to append unique id to resource group name

Actual behavior

[INFO] Starting deploying to Azure Functions test-functions-20180712090403798...
[INFO] Authenticate with Azure CLI 2.0
[INFO] Updating Azure Functions...
[INFO] Successfully updated Azure Functions test-functions-20180712090403798
[INFO]
[INFO] Step 1 of 4: Creating ZIP package...
[INFO] Successfully saved ZIP package at C:\mypath\test-functions\target\azure-functions\test-functions-20180712090403798.zip
[ERROR] Application setting 'AzureWebJobsStorage' not found.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

Steps to reproduce the problem

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions