azure-policy icon indicating copy to clipboard operation
azure-policy copied to clipboard

DeployIfNotExist policy help please!

Open moonchest opened this issue 7 years ago • 2 comments

Hi guys,

I wanted to write an Azure policy that auto-remedy/deploy a routeTable, if the routeTable named "route" is not found for any subnets.

Here is where I am up to, please weigh in, thanks a lot!

Cheers,

Ken

AutoRemedyRouteTable.txt

moonchest avatar Mar 27 '19 11:03 moonchest

I tried using this template deployment and it doesn't work for me. You should validate the template deployment before trying this via Azure policy. See https://docs.microsoft.com/en-us/rest/api/resources/deployments for more details.

Once you have a valid template, we can work on a DeployIfNotExists policy.

rohit-bh avatar Mar 27 '19 18:03 rohit-bh

Closing this issue per changes to the support model for this repo. See the Getting Support section in the readme for details and Azure Policy support information.

mentat9 avatar Jul 15 '19 17:07 mentat9