hashicorp / hashicorp/terraform-exec
Supply duration args as time.Duration not string
Open
enhancement
- Dominant language
- Go
- Stars
- 786
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/hashicorp/terraform/blob/f3bed4039fa423554fc8b698aac36a5b832980a6/command/workspace_new.go#L31
Contributor guide
Research direction
Start with the linked terraform command/workspace_new.go location at line 31, then trace the corresponding duration arguments in terraform-exec. Confirm which public arguments currently use strings and identify the relevant existing tests or command entry points; done means those arguments consistently use time.Duration without breaking the Terraform CLI behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100