--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-aws" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-...@googlegroups.com.
To post to this group, send email to kubernete...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-aws/eb371a9c-b7b5-4cf1-8317-60edf0c29a40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You should be able to create multiple sessions with different region for each session. Then you can create multiple aws service clients with each of the session talk to the region.See Configure AWS Region in https://docs.aws.amazon.com/sdk-for-go/api/ for more detailsCheng
On Tue, May 21, 2019 at 2:36 AM Ankit Rohilla <ankit.r...@gmail.com> wrote:
--Hi,I am dead stuck at this point.I am using AWS go-sdk to talk to AWS APIs. This requires REGION_NAME, ACCESS_KEY_ID and SECRET_ACCESS_KEY as inputs, either via environment variables or through two files (~/.aws/config and ~/.aws/credentials).Problem is I can have multiple aws-regions in a single AWS account. So, what do I need to do such that my application can connect to all the regions that I specify and then fetch me the data of all the regions? Something like this REGION_NAME=["region1","region2"]. Or if this is not possible then please suggest some ways on how I can achieve this.Please help. Any pointers would be useful.RegardsAnkit Rohilla
You received this message because you are subscribed to the Google Groups "kubernetes-sig-aws" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-aws+unsub...@googlegroups.com.