hashicorp / hashicorp/hcl

proposal: add new type measurement unit (MB/GB/TB)

Open
#326 0 comments 3 reactions 0 assignees View on GitHub
enhancement syntax/native v2
Dominant language
Go
Stars
5.8k
Forks
657
Avg merge
20h 36m
Merged PRs (30d)
6

Description

nginx conf support measurement units like `1024`, `8KB`, `1MB`) see [http://nginx.org/en/docs/syntax.html](http://nginx.org/en/docs/syntax.html) but hcl does not now.

Wish we can support the measurement unit type in HCL:)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name any files, tests, or entry points, and only proposes adding measurement units such as MB, GB, and TB to HCL. First determine how HCL represents numeric literals and where its grammar and type system are defined. Done would require an agreed unit representation, parsing behavior, and tests for the proposed syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.