Using Conditional Statements in ARM templates

I was building the Azure ARM template which will have Virtual Machines with data disks on QA and Prod, but no data disks on Developments. To achieve this required condition which we can use like this

https://gist.github.com/younasmt/53a8c36a3a3c169d7d722b00a8346533.js

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: