Enable fallback route in IoT hub to fix tests
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
parent
1fd48dd912
commit
cc06a37d37
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue