Why is my App Service deployment failing due to missing tags?

0
15
Asked By CuriousCoder42 On

I'm trying to set up an App Service along with a Database, using mostly default values for the configuration. While all the resources get created successfully, the deployment fails with a BadRequest error related to outboundSubnetDeployment. The error message mentions issues with parsing the request and specifically states that it cannot find the 'tags' member on the Subnet object.

In the past, creating an App Service didn't involve dealing with Virtual Networks and Outbound Subnets, and I find the documentation a bit overwhelming since I don't have extensive knowledge of Azure. Can someone clarify what tags I need to provide and where I should add them?

2 Answers

Answered By TechSavvyGamer On

It seems like you're trying to assign tags directly to the subnet. Just a heads up, subnets are part of the virtual network configuration, and Azure doesn’t allow tags on them. Instead, you should only apply tags to resources that actually support them.

Answered By CloudNinja88 On

I totally get how confusing Azure can be with those auto-generated network settings. I faced a similar issue and found it easier to switch my deployments to autogen (like nodeops), which automatically manages those configurations. It definitely saved me from a lot of JSON-related stress!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.