Skip to content

feat: refactor terraform entrypoint

Fix gitlab#340315 (closed)

Additionally:

  • Added -input=false to terraform init to ensure failure in a interactive mode.
  • Remove one-line functions apply() and destroy(), 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.

Merge request reports

Loading