terraform: add InputMode to determine what is asked for