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

Bicep warnings raised in v0.4.1272 #217

Closed
Gordonby opened this issue Feb 15, 2022 · 0 comments · Fixed by #219
Closed

Bicep warnings raised in v0.4.1272 #217

Gordonby opened this issue Feb 15, 2022 · 0 comments · Fixed by #219
Assignees

Comments

@Gordonby
Copy link
Collaborator

The new version of bicep has raised 2 new warnings.

  1. Parameter logAnalyticsWorkspaceLocation in Module aksmetricalerts should be assigned a value.
  2. Hardcoded location parameter in Firewall.bicep
/github/workspace/bicep/main.bicep(1183,3) : Warning explicit-values-for-loc-params: Parameter 'logAnalyticsWorkspaceLocation' of module 'aksmetricalerts' isn't assigned an explicit value, and its default value may not give the intended behavior for a location-related parameter. You should assign an explicit value to the parameter. [https://aka.ms/bicep/linter/explicit-values-for-loc-params]
/github/workspace/bicep/firewall.bicep(96,13) : Warning no-hardcoded-location: A resource location should not use a hard-coded string or variable value. Please use a parameter value, an expression, or the string 'global'. Found: 'westeurope' [https://aka.ms/bicep/linter/no-hardcoded-location]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant