https://pulumi.com logo
#general
Title
# general
b

bored-river-53178

07/11/2019, 9:25 AM
how can I get the value of "aws:region" from pulumi config?
s

stocky-spoon-28903

07/11/2019, 2:11 PM
aws.config.region
b

bored-river-53178

07/11/2019, 4:20 PM
thanks, unfortunately, it can be undefined, so using something like const awsConfig = new pulumi.Config('aws') const region = awsConfig.require('region') as aws.Region looks like an easier option