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

'extendedLocation' not recognized as top-level property #2757

Closed
mikkelhegn opened this issue May 20, 2021 · 1 comment
Closed

'extendedLocation' not recognized as top-level property #2757

mikkelhegn opened this issue May 20, 2021 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mikkelhegn
Copy link

Bicep version
Bicep CLI version 0.3.539 (c8b397d)

Describe the bug
Trying to build a bicep file using 'extendedLocation' results in an error

main.bicep(51,18) : Error BCP104: The referenced module has errors.
serverFarm.bicep(24,3) : Error BCP037: The property "extendedLocation" is not allowed on objects of type "Microsoft.Web/serverfarms". Permissible properties include "dependsOn", "tags".

To Reproduce
The bicep definition

resource webApiHostingPlan 'Microsoft.Web/serverfarms@2020-12-01' = {
  name: webApiHostingPlanName
   ###
  extendedLocation: {
    type: 'CustomLocation'
    name: customLocationId
  }
  properties: {
    ###
  }
}
@alex-frankel
Copy link
Collaborator

This is resolved in the latest apiVersion of this resource type and with Bicep v0.4.1

@ghost ghost locked as resolved and limited conversation to collaborators May 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants