This message was deleted.
# contributors
b
This message was deleted.
c
This is what I have so far: • case sensitive string comparisons: 
d.Get("kind") ==
 should be 
strings.ToLower(d.Get("kind").String()) ==
• case sensitive regex in price filters: 
ValueRegex: strPtr(fmt.Sprintf("/%s/", deviceType))
 should be 
ValueRegex: strPtr(fmt.Sprintf("/%s/i", deviceType))
• missing anchors in price filter regex: 
fmt.Sprintf("/%s/", x)
 when it should be 
fmt.Sprintf("/^%s$/", x)
• incorrect output capitalization: └─ Data Ingested should be └─ Data ingested • misnamed unit: 
GB-month
 should be 
GB
l
• having to check
u != nil
before calling
u.Get(...)
w
• infracost-usage-example.yml being updated, including a comment to say what the param is for. • check the array length returned by
d.References
to avoid panics (already in contributing guide)
👍 1