AWS Java SDK - Unable to find a region via the region provider chain

后端 未结 7 1936
悲哀的现实
悲哀的现实 2020-12-05 17:17

I have gone through the question titled \"Setting the AWS region programmatically 1\" but it doesn\'t provide all the answers I need.

Q1: I\'m getting a SDKCli

相关标签:
7条回答
  • 2020-12-05 17:51

    Actually, while I faced this issue was not possible to update the code all the time.

    Thus we need to look into the reasons why it's happening, While investigating I found there is .aws folder created at your root. It was created because I tried to install aws console some time back.

    The solution is you need to update your config file with region.

    0 讨论(0)
提交回复
热议问题