Azure / Azure/arm-ttk

publicIp resourceId needs to know if none is allowed

Open
#145 1 comment 0 reactions 0 assignees View on GitHub
enhancement Marketplace
Dominant language
PowerShell
Stars
468
Forks
208
PR merge metrics
No merged PRs in 30d

Description

on the nic resource that consumes the publicIP, does it allow for the none scenario

createUIdef, has a publicIp address control... this control allows for the use of new/existing/none. The resource for that publicIp in mainTempate will have a condition property that allows for new/existing/none.

Any resourceId that references that publicIp resource, must have a condition surrounding it that accommodates for the "none" option. This is usually don't by wraping the resourceId in an if() statement and one of the clauses is json('null').

Also need to account for the publicIpAddress property is an object variable
Also need to account for nested deployments that handle the conditions.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.