DSC should pass the name
field to resource invocations as metadata
#783
Labels
Milestone
name
field to resource invocations as metadata
#783
Summary of the new feature / enhancement
Currently, resources don't have access to the
name
field from a resource instance in a configuration document, so readers of the resource trace messages may not understand which resource instance emitted those messages.Proposed technical implementation details (optional)
Standardize passing the
name
field to DSC resources when usingdsc config
commands as part of the_metadata
struct.Resource authors would have to implement their resources to include the instance name if passed through metadata. For direct invocations with
dsc resource
commands, the resources shouldn't expect to receive a name for the instance.The text was updated successfully, but these errors were encountered: