diff --git a/backend/remote/backend_common.go b/backend/remote/backend_common.go index 2b0ee90831..7fe5373db4 100644 --- a/backend/remote/backend_common.go +++ b/backend/remote/backend_common.go @@ -321,7 +321,10 @@ func (b *Remote) costEstimate(stopCtx, cancelCtx context.Context, op *backend.Op b.CLI.Output("\n------------------------------------------------------------------------") return nil case tfe.CostEstimateErrored: - return fmt.Errorf(msgPrefix + " errored.") + b.CLI.Output(msgPrefix + " errored:\n") + b.CLI.Output(ce.ErrorMessage) + b.CLI.Output("\n------------------------------------------------------------------------") + return nil case tfe.CostEstimateCanceled: return fmt.Errorf(msgPrefix + " canceled.") default: