question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option for showing the plan without applying the script (i.e. dry run)

See original GitHub issue

It would be useful to have an option to skip any confirmation, but answering it as “no”. This would be the opposite of the option --yes.

My use case is showing the execution plan in a pipeline stage, then stop for manual confirmation.

Terraform has this same concept, with their plan/apply commands

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:8
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
thebiglabaskycommented, Dec 22, 2017

Hi,

Something along the lines of --plan-only then? We were considering dry run to also dump the list of API calls in a file for allowing manual review.

Thanks

1reaction
pmbanugocommented, Jun 8, 2021

Hey @marcolink @matthew-contentful @phoebeschmidt @giotiskl Any idea if this is an enhancement to be considered? I can send a PR if it’s something you would like to have in the repo. I also have a need for this and don’t want to maintain my own fork/version of the CLI for this enhancement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Perform a Terraform Dry Run - Harness.io Docs
For steps on applying plans without a dry run, see Provision using the Terraform Provision Step and Using the Terraform Apply Command.
Read more >
Issue a query dry run | BigQuery - Google Cloud
Describes the use of a query dry run and shows how to perform a dry run using the Cloud console, bq command-line, and...
Read more >
Internet Explorer (IE) mode troubleshooting and FAQ
Troubleshooting guide and FAQ for Microsoft Edge Internet Explorer mode.
Read more >
Terraform Plan Command - Check Your IaC Deployment
This option is useful when automating Terraform scripts, like when run in a CI/CD pipeline. -json. Returns output in JSON format. -no-color.
Read more >
Tutorial: Create a simple plan with Bamboo Java Specs
Go to Actions > Configure plan. Check whether the stage contains a job with the Hello world Script task. Select Run > Run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found