Deployment Faile***, Error: Resource azwb********-tot doesn't exist.
- Dominant language
- TypeScript
- Stars
- 338
- Forks
- 234
- Avg merge
- 53m
- Merged PRs (30d)
- 3
Description
While making deployment to the azure app service using Github Actions, getting the below mentioned error:
2024-02-12T13:32:39.8139749Z ##[***ebug][GET] https://management.azure.com/subscriptions/********-***313-4054-aa3***-***c0ca6bea983/resources?$filter=resourceType EQ 'Microsoft.Web%2FSites' AND name EQ 'azwb***lpau01-tot'&api-version=2016-07-01
2024-02-12T13:32:39.9341215Z ##[error]Deployment Faile***, Error: Resource azwb***lpau01-tot ** doesn't exist.
2024-02-12T13:32:38.0120486Z ##[group]Run azure/webapps-***eploy@v2
2024-02-12T13:32:38.0121146Z with:
2024-02-12T13:32:38.0121632Z app-name: azwb***lpau01-tot
2024-02-12T13:32:38.0122693Z images: azacr***lpau01.azurecr.io/backen***-lpau:567079fe***82336af***7e***917369b166a8e90***4e3***
2024-02-12T13:32:38.0123838Z slot-name: pro***uction
2024-02-12T13:32:38.0124378Z package: .
2024-02-12T13:32:38.0124824Z env:
2024-02-12T13:32:38.0125290Z SUB_NAME_FORMAT: **********
2024-02-12T13:32:38.0125987Z RG_NAME_FORMAT: **********
2024-02-12T13:32:38.0126649Z WEBAPP_NAME_FORMAT: azwb{0}lpau01-tot
2024-02-12T13:32:38.0127330Z PYTHON_VERSION: 3.9
2024-02-12T13:32:38.0127907Z ACR_NAME: azacr***lpau01.azurecr.io
2024-02-12T13:32:38.0128563Z image-name: backen***
2024-02-12T13:32:38.0129302Z pythonLocation: /opt/hoste***toolcache/Python/3.9.18/x64
2024-02-12T13:32:38.0130331Z LD_LIBRARY_PATH: /opt/hoste***toolcache/Python/3.9.18/x64/lib
2024-02-12T13:32:38.0131400Z DOCKER_CONFIG: /home/runner/work/_temp/***ocker_login_1707744667772
2024-02-12T13:32:38.0132344Z ##[en***group]
2024-02-12T13:32:38.3308894Z ##[***ebug]try-get AzureCLIAuthorizer
2024-02-12T13:32:38.3576858Z ##[***ebug]"/usr/bin/az" account show
2024-02-12T13:32:38.8756737Z ##[***ebug]"/usr/bin/az" clou*** show
2024-02-12T13:32:39.2663971Z ##[***ebug]"/usr/bin/az" account get-access-token
2024-02-12T13:32:39.8111094Z ::a***-mask::***
2024-02-12T13:32:39.8139749Z ##[***ebug][GET] https://management.azure.com/subscriptions/546c4b1b-***313-4054-aa3***-***c0ca6bea983/resources?$filter=resourceType EQ 'Microsoft.Web%2FSites' AND name EQ 'azwb***lpau01-tot'&api-version=2016-07-01
2024-02-12T13:32:39.9341215Z ##[error]Deployment Faile***, Error: Resource azwb***lpau01-tot ***oesn't exist.
2024-02-12T13:32:39.9349819Z ##[***ebug]Deployment faile***
2024-02-12T13:32:39.9469110Z ##[***ebug]No***e Action run complete*** with exit co***e 1
2024-02-12T13:32:39.9474955Z ##[***ebug]AZURE_HTTP_USER_AGENT='GITHUBACTIONS_DeployWebAppToAzure_2bfbf8bf5ff9cf***5***7***423557818eb3f2805cae5457a22f***28b19***2c76f5***9b5'
2024-02-12T13:32:39.9477117Z ##[***ebug]AZURE_HTTP_USER_AGENT=''
2024-02-12T13:32:39.9485324Z ##[***ebug]Finishing: Deploy Container Image to Azure App Service
The resource does exist and deployments could be made using azure cli. But with Github actions the deployment fails with Resource does not exist error.
Please assist with the issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.