hashicorp / hashicorp/terraform-exec

Provide better errors caused by context cancellation

Open
#107 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
786
Forks
129
PR merge metrics
No merged PRs in 30d

Description

https://github.com/hashicorp/terraform-exec/pull/91 was closed partially because we were worried about implications in terms of backwards incompatibility.

I do however believe that the library should provide decent error messages - i.e. _not_ `context deadline exceeded` _by default_, so I'm hoping this can be revisited before v1 as that gives us chance to make some breaking changes.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the closed pull request #91 and its discussion, then trace the library's context-cancellation error handling. The change is done when cancellation produces useful errors rather than context deadline exceeded by default, with the backwards-compatibility implications addressed before v1.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, terraform
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.