Skip to content

[AVM Module Issue]: Be able to choose the number of zones according to the SKU of APIM #73

@ruifelixpereira

Description

@ruifelixpereira

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

I'm not sure

(Optional) Module Version

0.3.0

(Optional) Correlation Id

No response

Description

In the apim_definition we can configure the APIM SKU like this:

apim_definition = {
deploy = true
sku_root = local.apim_sku_root
sku_capacity = local.apim_sku_capacity
publisher_email = "DoNotReply@exampleEmail.com"
publisher_name = "Azure API Management"
enable_diagnostic_settings = false
}

If I choose a SKU different than Premium, that does not support zones, the deployment fails because the number of zones is always defined at

Where the zones come from

region_zones = local.region_zones_lookup != null ? local.region_zones_lookup : []

Zones should be a variable in the apim_definition object. Not having this means that even for a Development AI LZ the APIM must be Premium.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Needs: Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions