Azure / Azure/PSRule.Rules.Azure

Avoid using providers template function

Open
#968 0 comments 0 reactions 0 assignees View on GitHub
rule: deployment
Dominant language
PowerShell
Stars
447
Forks
109
Avg merge
2d 19h
Merged PRs (30d)
23

Description

# Rule request

## Suggested rule change

The `providers` template function is deprecated and not recommended for use.

Instead of using `providers`, specify the API version that has been tested for deployment with the resource features you want to use.

## Applies to the following

The rule applies to the following:

- Azure templates.

## Additional context

[Reference](https://docs.microsoft.com/azure/azure-resource-manager/templates/template-functions-resource#providers)

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.