sparse-intern-71089
03/04/2022, 8:07 PMsteep-toddler-94095
03/06/2022, 6:27 PMimport { Region } from "@pulumi/aws";
const region = new pulumi.Config("aws").require('region') as Region
You will run into runtime errors if the region in the config isn't actually a valid region, but this will pass compile checksbusy-lion-51883
03/07/2022, 2:34 PMconst region: aws.Region = new pulumi.Config("aws").require('region')
steep-toddler-94095
03/08/2022, 3:48 AM