Skip to content

Make Include resource use more like a composite resource #585

Open
@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature / enhancement

Currently, if you Include a nested configuration which has parameter, it has to be passed in as a separate file. Instead, we should allow the parameters to be passed in via the parent configuration.

Proposed technical implementation details (optional)

Example of how this could look:

$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2024/04/config/document.json
resources:
- name: get os info
  type: Microsoft.DSC/Include
  properties:
    configurationFile: osinfo_parameters.dsc.yaml
    parameters:
      osFamily: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions