Skip to content

Add EventHub connection info to deployment outputs#75

Merged
dustinburson merged 1 commit intomicrosoft:masterfrom
c-w:output-eventhub-deployment-details
Nov 18, 2020
Merged

Add EventHub connection info to deployment outputs#75
dustinburson merged 1 commit intomicrosoft:masterfrom
c-w:output-eventhub-deployment-details

Conversation

@c-w
Copy link
Contributor

@c-w c-w commented Nov 12, 2020

This pull request refactors the managed identity ARM template used to deploy the IoMT-connector to expose the names of the EventHubs used for ingestion as well as the hostname of the EventHub namespace that hosts those EventHubs. This change enables consumers of the template to set up RBAC roles and connect to the ingestion EventHubs without making assumptions about naming patterns used in the ARM template.

To facilitate the refactor, this pull request also pulls out the constants normalizeddata and devicedata into template variables and updates the template to reference the variables instead of repeating the constants in multiple places. As such, if in the future the naming patters were to change, the strings can simply be updated in one location.

cc @alexgolesh @wkilday

@dustinburson dustinburson merged commit 3cff074 into microsoft:master Nov 18, 2020
@c-w c-w deleted the output-eventhub-deployment-details branch November 18, 2020 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants