Skip to content

Add a `--dry-run` option for `opentf-ctl run workflow`

Current situation

There is no way to test if a workflow definition is correct. We can use run workflow ..., but, if the workflow is indeed correct, it will be created, so it's not a check per se.

Desired outcome

Add a --dry-run option to the run workflow command. It works just as run workflow does, but does not create the workflow. It uses the POST /workflows?dryRun command.