terraform/backend/remote/test-fixtures/apply-with-error
Sander van Harmelen b1fdbd7db8 Allow enhanced backends to pass custom exit codes
In some cases this is needed to keep the UX clean and to make sure any remote exit codes are passed through to the local process.

The most obvious example for this is when using the "remote" backend. This backend runs Terraform remotely and stream the output back to the local terminal.

When an error occurs during the remote execution, all the needed error information will already be in the streamed output. So if we then return an error ourselves, users will get the same errors twice.

By allowing the backend to specify the correct exit code, the UX remains the same while preserving the correct exit codes.
2018-10-05 20:44:12 +02:00
..
main.tf Allow enhanced backends to pass custom exit codes 2018-10-05 20:44:12 +02:00
plan.log Allow enhanced backends to pass custom exit codes 2018-10-05 20:44:12 +02:00