Open nazakathussain opened 2 years ago
In addition to the swagger issue, you should be unblocked once #5509 is merged. cc @miqm as FYI
FYI - as of today's 0.4.1272 release, this error should not be a warning. I will leave the issue open to track the swagger specification issue.
I'm facing the same issue with Microsoft.Automation/automationAccounts/credentials.
Bicep version Bicep CLI version 0.4.1124 (66c84c8ee5)
Describe the bug To deploy Microsoft.Automation/automationAccounts/configurations a number of properties are required including location, even though it is a read only property. Bicep does not support the property however in ARM this is a property and during deployment this is expected.
Example code:
resource automationAccountsConfiguration 'Microsoft.Automation/automationAccounts/configurations@2019-06-01' = { parent: automationAccounts name: 'ExampleDSCConfiguration' }
Error on the portal:
{ "status": "Failed", "error": { "code": "LocationRequired", "message": "The location property is required for this definition." } }
To Reproduce Deploy the below code using Bicep: