hashicorp / hashicorp/terraform-exec

Supply duration args as time.Duration not string

Open
#106 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.