Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Update Microsoft.Devices/provisioningServices api version on bicep templates #2586

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/azure/app_service.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ resource site 'Microsoft.Web/sites@2022-03-01' = {
{
name: 'Azure__IoTDPS__ConnectionString'
type: 'Custom'
connectionString: 'HostName=${dpsName}.azure-devices-provisioning.net;SharedAccessKeyName=${dpsOwnerPolicyName};SharedAccessKey=${listKeys(resourceId('Microsoft.Devices/provisioningServices/keys', dpsName, dpsOwnerPolicyName), '2021-10-15').primaryKey}'
connectionString: 'HostName=${dpsName}.azure-devices-provisioning.net;SharedAccessKeyName=${dpsOwnerPolicyName};SharedAccessKey=${listKeys(resourceId('Microsoft.Devices/provisioningServices/keys', dpsName, dpsOwnerPolicyName), '2022-12-12').primaryKey}'
}
{
name: 'Azure__StorageAccount__ConnectionString'
Expand Down
2 changes: 1 addition & 1 deletion templates/azure/dps.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ param iotHubName string
@description('IoTHub owner policy name.')
param iotHubOwnerPolicyName string

resource dps 'Microsoft.Devices/provisioningServices@2021-10-15' = {
resource dps 'Microsoft.Devices/provisioningServices@2022-12-12' = {
name: dpsName
location: location
sku: {
Expand Down
Loading