Azure / arm-deploy

ARM action to deploy an Azure Resource Manager (ARM) template to all the deployment scopes
MIT License
84 stars 39 forks source link

aliasPrimaryConnectionString doesn't exist anymore #108

Closed Madsteph closed 2 years ago

Madsteph commented 2 years ago

We have some ARM templates that try to get the aliasPrimaryConnectionString key from an EventHub that have DR enabled. The templates have been working fine for the past few months but around yesterday they all stopped working with the following error msg:

##[error]InvalidTemplate: Unable to process template language expressions for resource '/subscriptions/[SubscriptionId]/resourceGroups/[RG Name]/providers/Microsoft.Resources/deployments/[DeploymentName]' at line '1' and column '11619'. 'The language expression property 'aliasPrimaryConnectionString' doesn't exist, available properties are 'primaryConnectionString, secondaryConnectionString, primaryKey, secondaryKey, keyName'.'

Here's the problematic line:

"EventHubServiceSettings:EventHubConnectionString": {
    "value": "[listKeys(resourceId(parameters('eventHubResourceGroupName'),'Microsoft.EventHub/namespaces/eventhubs/authorizationRules', parameters('eventHubNamespace'), parameters('eventHubName'),  variables('eventHubAccessPolicies')),'2017-04-01').aliasPrimaryConnectionString]"
},

Anything have changed recently?

github-actions[bot] commented 2 years ago

This issue is idle because it has been open for 14 days with no activity.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 7 days with no activity.

t-dedah commented 2 years ago

Hi @Madsteph We checked the release for both this action and azure cli but none of them released any new version in the timeframe discussed above. Are you still facing this issue?

t-dedah commented 2 years ago

Closing this issue due to inactivity. Please reopen if you are still facing this issue.