Azure / pcs-cli

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

Moved streamingJobsQuery parameter to variable and adding centralus tsi #464

Closed zadixon closed 5 years ago

zadixon commented 5 years ago

Description and Motivation

These changes are done for SDS deployment compatibility (and to keep parity with supported TSI locations).

SDS pulls in all ARM template default parameters, but doesn't support default values that are objects. Additionally, the values in the object are larger than the maximum length currently supported by SDS, so it can't be split into five separate parameters. The easiest solution is to move it to a variable.

SDS determines whether the supplied region supports TSI and, if not, uses a default region. Since Central US is supported, SDS will supply 'centralus' as the parameter. Since 'centralus' is not in the list of supported values, the ARM template will reject it and the deployment will fail.

Change type

Checklist:


This change is Reviewable