-
Notifications
You must be signed in to change notification settings - Fork 81
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
Validation of template function "deployment" #1060
Comments
@reijoh Thanks for taking the time to enter. I would like to be able to distinguish these scenarios, sounds like it's time to make it happen. |
@jorgecotillo Turns out this is a validation message, not a message from the extension. Is this something that has already been fixed? |
@jorgecotillo Still repros in the last private build you sent me |
was able to repro and is getting fixed along with #831 |
Btw @StephenWeatherford in case you are not already doing so, I'll need a deployment object to be passed in the metadata, it can contain any property but the object must exist like resourceGroup or subscription |
Already doing that, thanks! But it looks like it needs to be updated for other scopes (e.g. "location" not currently included). I can do that once you provide a build.
|
The ARM template documentation for deployment() ARM template function states that when you deploy to an Azure subscription, management group, or tenant, the return object includes a location property.
When using this property in an ARM template in VSCode, validation fail with the message:
Validation should take into account the schema used by the template and only fail validation for deployment().location if deploying to a resource group.
The text was updated successfully, but these errors were encountered: