amplify-education / python-hcl2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsing large numbers with 1e12 notation fail

jverhoeks opened this issue · comments

Example code:

athena_workgroups = {
  workgroup = {
    selected_engine_version        = "Athena engine version 3"
    bytes_scanned_cutoff_per_query = 1e12 # 1 TB = $5 as an upper limit
  }
}

Gives the following error:

lark.exceptions.UnexpectedToken: Unexpected token Token('__ANON_3', 'e12') at line 4, column 39.