My question is regarding configuration deployment.
When I deploys changes, it should be conditional. I would like to fail deployment of my node if input from hardware is not correct. How can I do it? So, if input is correct it will save configs in flow.json otherwise not.