feat: refactor terraform entrypoint
Additionally:
- Added
-input=false
toterraform init
to ensure failure in a interactive mode. - Remove one-line functions
apply()
anddestroy()
, appending to its only call in the case block.
/cc @nagyv-gitlab I removed the init
call from each other stage and they all failed. Confirming that it's a necessary step.