Open
Description
Proposal
Add the option to require user-confirmation before applying changes with the nomad CLI. For example restarting a job. Read-only actions like listing jobs or services should not require the prompt.
Use-cases
Currently, it is quite easy to use the nomad CLI to take actions in the cluster, which we love. However, in our use-case, we have a staging cluster and a production cluster and they can both be modified from our development machines. It would be great for us if we could somehow configure the CLI to require a user-confirmation prompt before taking action on the production cluster, but not require it for the staging cluster.
Attempted Solutions
We have some bash scripts wrapping the CLI to do this, but we don't have any way to require its usage by devs.
Metadata
Metadata
Assignees
Type
Projects
Status
Triaging