Skip to content

Commit

Permalink
location give the default value
Browse files Browse the repository at this point in the history
  • Loading branch information
luxu-ms committed Apr 10, 2024
1 parent a5cf976 commit 3fb5278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Environments/eShop/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ param environmentName string

@minLength(1)
@description('The location used for all deployed resources')
param location string
param location string = resourceGroup().location

@secure()
@metadata({azd: {
Expand Down
3 changes: 1 addition & 2 deletions Environments/eShop/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ parameters:
name: "Environment Name (e.g. test)"
description: "Name of the Environment"
type: "string"
required: false
default: "test"
required: true

- id: "location"
name: "Region (e.g. eastus)"
Expand Down

0 comments on commit 3fb5278

Please sign in to comment.