Support --what-if
mode for single-resource invocation
#566
Labels
Milestone
--what-if
mode for single-resource invocation
#566
Summary of the new feature / enhancement
Right now, invoking resources in what-if mode requires creating a configuration document. While having what-if mode is more valuable for configuration documents, it's also useful for singular resource invocations like:
This would be useful both for interactive/script users and for resource authors, who can then test the what-if messaging and behavior for their resources with less overhead and a simpler output data model.
Proposed technical implementation details (optional)
I propose that we add the
w
/--what-if
flag to thedsc resource set
command, reusing (as much as possible) the logic and code for invoking resources in what-if mode used by thedsc config set
command.The text was updated successfully, but these errors were encountered: