Mods
Azure

Policy: Azure > Cosmos DB > Database Account > Approved > Regions

A list of Azure regions in which Azure Cosmos DB database accounts 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 Cosmos DB database account is created in a region that is not in the approved list, it will be subject to the action specified in the Azure > Cosmos DB > Database Account > 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-cosmosdb#/policy/types/cosmosDbApprovedRegionsDefault") {
value
}
}

Category

In Your Workspace

Developers