-
I created a credentials.yml file that has credentials for a list of countries. For example, US, CA, FR, JP. The code below loops through the credentials.yml for a specific list of countries.
The code below only works for US and CA.
Error:
I enabled all regions on my AWS account. How can I get this to work for the following countries? I appreciate any help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I solved this problem by creating an object for each country. |
Beta Was this translation helpful? Give feedback.
-
Hi, sorry for the late reply. You can do this much easier by using the credentials file provided by this library, and just setup the different accounts in there. You can then select an account by simply passing it to the client:
Please have a look here |
Beta Was this translation helpful? Give feedback.
I solved this problem by creating an object for each country.