cuddly-smartphone-15267
09/08/2021, 12:15 PMconfig:
aws:region: ap-southeast-2
aws:profile: prod
shared:stackConfig:
regionCode: au
is there a way I can do something like (typescript code)
const config = new Config();
const awsRegion = config.require("aws:region");
When i try to execute the above, i get an error: error: Missing required configuration variable 'shared:aws:region'
const awsRegion = new Config("aws").require("region");
brave-planet-10645
09/08/2021, 12:44 PMconst config = new Config();
then it defaults to the namespace matching the name of the projectcuddly-smartphone-15267
09/08/2021, 1:18 PM