config multimethod
Methods
- config(k:Str) Source: stdlib.ngs:6833
Get configuration for the given key. Lookup order / first wins: (1) Environment variable NGS_$k (2) previously set config(k, v) Parameters
k Configuration key Returns
Any. If data found in environment variable, it will be decode()d or returned as Str if decode() fails.Example
conf = config("table_${t.name}")
- config(k:Str, v:Any) Source: stdlib.ngs:6851
Set configuration. To be used with config(k:Str). Example
config('table_Instances', %[InstanceId tag_Name tag_env tag_role IPs InstanceType State KeyName SecurityGroups AZ RestOfTags])