Output

public enum Output

Control how the stdout/stderr output of terraform is handled

  • Discard the output

    Declaration

    Swift

    case discard
  • Forward the output to stdout/stderr

    Declaration

    Swift

    case passthrough
  • Forward the output to stdout/stderr, if the exit code is non-zero

    Declaration

    Swift

    case passthroughOnFailure
  • Collect the output and invoke the closure once the process has ended.

    Declaration

    Swift

    case collect((Data) -> Void)