Azure / Azure/ResourceModules

Discover methods to pester test the use of hardcoded name prefix without conflicting with similar strings in the parameter file

Open
#951 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PowerShell
Stars
737
Forks
436
Avg merge
10d 7h
Merged PRs (30d)
1

Description

Testing for the detection of hardcoded name prefix instead of a token, introduces the likelihood that a deployment will get blocked due to other conflicting strings in things that are not part of a prefix, but part of a parameter name:

For example, if the name prefix is set to `sub` and the parameter file contains the word `subscription` then detecting the word `sub` means that the parameter file invalid, but in fact it shouldn't be the case.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.