When I create an explicit provider (in typescript)...
# aws
g
When I create an explicit provider (in typescript), and want to specify the region for that provider, the
region
arg for
aws.Provider
has type
aws.Region
. But that type is essentially an enum, and it doesn't include all AWS regions (e.g. ap-southeast-5, il-central-1 aren't there). How is one supposed to create a provider for a region that isn't in the enum without getting compilation errors? What am I missing here?
m
I looks like the Region enum has not been updated in a while. il-central-1 became active last year, while ap-southeast-5 just entered general availability five days ago. I think the way forward is to either file a PR yourself, or raise an issue on GitHub for the new regions to be added.