KEMBAR78
Update `Resource` schema to match ARM by SteveL-MSFT · Pull Request #995 · PowerShell/DSC · GitHub
Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

PR Summary

Schema for Resource within a config now matches ARM. This means:

  • unknown properties are rejected
  • many unused ARM properties are allowed, but ignored currently
  • decided not to alias apiVersion to version since that only helps YAML authors and intent is for people to use Bicep so adding the alias would just make it confusing in the future
  • added resource to list of returned schemas: dsc schema -t resource

PR Context

Fix #980

Co-authored-by: Tess Gauthier <tgauth@bu.edu>
@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Jul 23, 2025
Merged via the queue into PowerShell:main with commit aa02f29 Jul 23, 2025
4 checks passed
@SteveL-MSFT SteveL-MSFT deleted the resource-props branch July 23, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config document resource schema is missing additionalProperties true

2 participants