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

orange-airport-64592

09/11/2023, 1:41 AM
According to this document, https://www.pulumi.com/blog/deploy-to-multiple-regions/ I want to set up a code to enable resources in multiple regions. However, when I tried the following command,
pulumi config set --path pulumi:disable-default-providers[0] "aws"
it failed.
And I am trying to use
providers
opts instead of `provider`, but I am not sure of what the providers mean. what is the difference between
providers
and
provider
?
f

fierce-ability-58936

09/11/2023, 2:12 AM
You need to run it as
Copy code
pulumi config set --path 'pulumi:disable-default-providers[0]' "aws"
because [] is interpreted by zsh as something else
o

orange-airport-64592

09/11/2023, 2:35 AM
@fierce-ability-58936 OK , Thanks , but Do you know How to use providers args?
f

fierce-ability-58936

09/11/2023, 2:40 AM
s

stocky-restaurant-98004

09/12/2023, 1:20 PM
@orange-airport-64592 You may have an easier time just editing your stack config file.
o

orange-airport-64592

09/13/2023, 6:56 AM
@stocky-restaurant-98004 Thank you, good Ideal