Skip to content

Commit

Permalink
Provide env annotation for timeout option
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Normore committed Feb 22, 2024
1 parent c7b13bc commit ac24427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ type Options struct {
RunTitle string `long:"run-title" env:"TERRAFORM_RUN_TITLE" description:"Title for the Terraform Run. Defaults to latest commit message if unset."`
DryRun bool `long:"dry-run" description:"Do not actually run the Terraform Run. Useful for testing."`
VariableValueRequiredPrefix string `long:"variable-value-required-prefix" env:"VARIABLE_VALUE_REQUIRED_PREFIX" description:"If set, the VariableValue must start with this prefix"`
Timeout time.Duration `long:"timeout" description:"Run timeout" default:"0"`
Timeout time.Duration `long:"timeout" env:"TIMEOUT" description:"Run timeout" default:"0"`
}

0 comments on commit ac24427

Please sign in to comment.