Skip to content

Commit

Permalink
Location property not allowed at resource group scope
Browse files Browse the repository at this point in the history
Error when using the create example. 
Deployment on resource group scope uses the location from the resource group, no need to define in workflow. 
Work ok when removing.

{
  "code": "InvalidDeployment",
  "message": "The 'location' property is not allowed for 'Development' at resource group scope. Please see https://aka.ms/arm-deployment-subscription for usage details."
}
  • Loading branch information
arnfinneide authored Nov 11, 2024
1 parent 4827b4e commit ea80eed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:
type: deployment
operation: create
name: Development
location: westus2
scope: resourceGroup
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
resource-group-name: example
Expand Down

0 comments on commit ea80eed

Please sign in to comment.