Azure/functions-action#116
The following "app doesn't exist" error appears even if the function app is already there and exists for hours.
Error: Resource func-my-function doesn't exist.
at Function.<anonymous> (/home/runner/work/_actions/Azure/functions-action/v1/node_modules/azure-actions-appservice-rest/Utilities/AzureResourceFilterUtility.js:21:23)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/_actions/Azure/functions-action/v1/node_modules/azure-actions-appservice-rest/Utilities/AzureResourceFilterUtility.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error is generated from the code here:
|
if(!filteredResources || filteredResources.length == 0) { |
|
throw new Error('ResourceDoesntExist'); |
|
} |
|
var httpRequest: webClient.WebRequest = { |
|
method: 'GET', |
|
uri: this._client.getRequestUri('//subscriptions/{subscriptionId}/resources', {}, |
|
[`$filter=resourceType EQ \'${encodeURIComponent(resourceType)}\' AND name EQ \'${encodeURIComponent(resourceName)}\'`], '2016-07-01') |
|
}; |
Azure/functions-action#116
The following "app doesn't exist" error appears even if the function app is already there and exists for hours.
Error is generated from the code here:
pipelines-appservice-lib/src/RestUtilities/AzureResourceFilterUtility.ts
Lines 10 to 12 in 2b66f5b
pipelines-appservice-lib/src/ArmRest/azure-arm-resource.ts
Lines 14 to 18 in 2b66f5b