Azure / pcs-cli

A CLI for deploying Azure IoT PCS
MIT License
33 stars 37 forks source link

Remove hardcoded allowed values for TSI and Provisioning in ARM templates #512

Closed jillcary closed 5 years ago

jillcary commented 5 years ago

Description and Motivation

Remote Moniotoring deployments for the australiaeast and the australiaaoutheast regions were hitting an error on the TSI allowed values part of the ARM template.

TSI now supports australiaeast and australiasoutheast which was showing up as a new option for azureiotsolutions.com due to a dynamic region check. This change removes the hardcoded allowed values in the ARM template for basic deployments. By removing the hardcoded allowed regions, we can rely on the dynamic API call to return a list of allowed regions instead. provisioningServiceLocation could hit the same issue so the allowed values in the template have also been removed.

Change type

Checklist:


This change is Reviewable