https://pulumi.com logo
Title
b

brash-quill-35776

08/30/2021, 4:22 AM
Hi, does pulumi supports AWS in China?
g

great-sunset-355

08/30/2021, 7:52 AM
It depends on the provider IMO, so I'd say yes
b

brash-quill-35776

08/30/2021, 1:42 PM
because AWS China is different from the rest, so just curious how to configure if someone wants to use it for AWS China
b

brave-planet-10645

08/30/2021, 3:49 PM
We support all regions. You just need to set the region in your config (or env var etc)
Obviously there may be some resource types that aren't available, but you probably knew that already
b

brash-quill-35776

08/30/2021, 3:51 PM
sure, thank you
just to make it clear that AWS China backbone is different from AWS Commercial, the host, the company entity are totally different as well. Not sure how will
pulumi
detect the difference, would it simply switch to different backbone host endpoint by setting
aws:region
?
b

brave-planet-10645

08/30/2021, 4:00 PM
How does the AWS CLI work with Chinese regions? (I've never had cause to try it)
b

brash-quill-35776

08/30/2021, 4:03 PM
I never tried it before, I am advocating it to my friend who is using AWS China. just want to confirm it by seeing if the implementation already taking care of that
ohh I think use one metaphor like below: does pulumi support AWS-us-gov? same story applies to AWS China
b

brave-planet-10645

08/30/2021, 4:21 PM
Again, I don't have any reason to believe we don't (as a non-US citizen getting access to Govcloud isn't the easiest for me 😉). If you can access it through the SDK you'll be able to access it through Pulumi
b

brash-quill-35776

08/30/2021, 4:27 PM
thanks, that makes sense