DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Enable `dsc config resolve` for included configs

Open SteveL-MSFT opened this issue 1 year ago • 2 comments

Summary of the new feature / enhancement

As part of https://github.com/PowerShell/DSC/issues/412 we would want to enable rendering a complete config that includes other config files. Some considerations:

  • needs to be done recursively as an included config may itself include another config
  • render in execution order based on dependsOn to show the sequence top to bottom
  • probably expose as a new Resolve capability for Group and Adapter resources to implement

Proposed technical implementation details (optional)

No response

SteveL-MSFT avatar Apr 20 '24 22:04 SteveL-MSFT

Does it make sense for resolve to also validate the configuration by default? Should the command have a flag for skipping/enforcing validation (depending on default behavior)?

michaeltlombardi avatar Apr 22 '24 21:04 michaeltlombardi

The config schema will always be validated as I imagine resolve to just be another operation like export or get

SteveL-MSFT avatar Apr 23 '24 01:04 SteveL-MSFT