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

Template with apiProfile not honored among resources #635

Closed
msft-jasonparker opened this issue Apr 21, 2020 · 4 comments
Closed

Template with apiProfile not honored among resources #635

msft-jasonparker opened this issue Apr 21, 2020 · 4 comments

Comments

@msft-jasonparker
Copy link

  1. apiProfile does not allow for the most current api version
  2. Using an apiProfile with an intellisensed api version, downlevel resources show problems for missing required apiVersion.

Using an apiProfile should negate the need to provide an apiVersion under a resource, but you can specify and apiVersion to override the apiProfile version.

image

image

@neilpeterson
Copy link
Contributor

Thanks @msft-jasonparker. I do see that the latest versions are missing from the root schema and am looking into having this updated.

https://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2019-04-01/deploymentTemplate.json#L12

@neilpeterson
Copy link
Contributor

@msft-jasonparker we have added 2019-03-01-hybrid which should ship with the next releases schema package. This should take care of the example given above.

Azure/azure-resource-manager-schemas#992

There is still some work to do to support the remaining apiProfiles and these will be added once ready. I will update this issue once released.

@StephenWeatherford
Copy link
Contributor

Unfortunately this didn't make it into our next release on Monday. We'll probably do a hot fix soon to pick up new schemas, but I can't guarantee when because we've got a lot of releases planned this month.

@StephenWeatherford
Copy link
Contributor

Fix released with 0.11.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants