Enable fallback route in IoT hub to fix tests

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
ItalyPaleAle 2023-01-21 19:46:09 +00:00
parent 1fd48dd912
commit cc06a37d37
1 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,15 @@ resource iotHub 'Microsoft.Devices/IotHubs@2021-03-31' = {
partitionCount: 2
}
}
routing: {
fallbackRoute: {
name: '$fallback'
source: 'DeviceMessages'
condition: 'true'
endpointNames: ['events']
isEnabled: true
}
}
}
}