Mods
Azure

Policy: Azure > SQL > Database > Approved > Regions

A list of Azure regions in which Azure SQL databases are approved for use.

The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.

This policy will be evaluated by the Approved control. If an Azure SQL database is created in a region that is not in the approved list, it will be subject to the action specified in the Azure > SQL > Database > Approved policy.

See Approved for more information.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Specification

Default template
{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'
{% endfor %}
Default template input
|
{
regions: policyValue(uri:"tmod:@turbot/azure-sql#/policy/types/sqlApprovedRegionsDefault") {
value
}
}

Category

In Your Workspace

Developers